Skip to content

Command names cannot contain spaces #101

@Bilge

Description

@Bilge

I'd like to query why command names cannot contain spaces. Currently I receive an error similar to the following:

InvalidArgumentException: Command name has to be an alphanumeric string not starting with dash, found 'import apps'

I want a command called import apps and another called import reviews. The thought occurs I could just create an import command with an operand that accepts either apps or reviews. The reason I cannot do this, however, is because each of those commands accept a different set of options. That is, since the commands do not share the same options they cannot be combined.

Is there any technical reason at all why a command could not contain a space character? If so, could such a restriction be lifted without too much effort?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions