toCommand()