cli2: Dynamic CLI for Python 3¶ Contents: Tutorial for cli2: Dynamic CLI for Python 3 Architecture Overview Command Complex signature Posix style Testing Entry point Method commands Group Decorator syntax Python API Lazy loading: overriding Group Lazy loading: using Group.load Injecting CLIs from submodules Argument Factory Aliases Posix Overrides Integers Boolean False List and Dicts Typable lists and dicts Custom type casting Logging Tables Documentation Overridding default code Argument overriding Command class overriding CLI only arguments Edge cases Args containing = when **kwargs is present Calling with a="b=x" in (a=None, b=None) cli2 Python API Documentation Command Command Group Group Argument Argument Decorators arg() cmd() Display diff() print() Colors Node Node Test autotest() Example Sphinx¶ Example documentation generated with cli2.sphinx extension: Sphinx-Docs extension cli2-example cli2-example get cli2-example post cli2-example yourcmd cli2-example nested cli2-example nested nested cli2-example nested nested nested Indices and tables¶ Index Module Index Search Page