toCommandProperties