tuxemon.cli.parser module

tuxemon.cli.parser.parse(text)[source]

Default parser for text input on the prompt.

Parameters:

text (str) – Text to split into tokens.

Return type:

List[str]

tuxemon.cli.parser.split(line)[source]

Split text into head, tail tokens. Text is split after 1st space.

Parameters:

line (str) – Text to split.

Return type:

Tuple[str, str]