dollar_lambda.decorators#

Defines the @command decorator and the CommandTree class.

Functions

command([flip_bools, help, parsers, ...])

A succinct way to generate a simple nonpositional parser.

parser([prefix, flip_bools, help, parsers, ...])

Adds a .parser attribute to the wrapped function which can then be used in combination with other parsers.

Classes

CommandTree([_children, _can_run])

Allows parsers to dynamically dispatch their results based on the input.