Currently, commands' 'components' List has to be built manually. It would be... ideal, if it allowed a componentsText string as well, which would parse the text into a components list. For example:
componentsText = "'say'|'''; anything?" would be equivalent to
components = List(Or(Word("say"), Word("'")), Anything(optional = true))
Currently, commands' 'components' List has to be built manually. It would be... ideal, if it allowed a componentsText string as well, which would parse the text into a components list. For example:
componentsText = "'say'|'''; anything?" would be equivalent to components = List(Or(Word("say"), Word("'")), Anything(optional = true))