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 Group overrides Python API Lazy loading: overriding Group Lazy loading: using Group.load Injecting CLIs from submodules Argument Factory Aliases Posix Overrides Hide 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 Configuration Edge cases Args containing = when **kwargs is present Calling with a="b=x" in (a=None, b=None) Tutorial for cli2.Client: HTTP Client framework Example Source code Architecture Tutorial Creating a Client Creating a Model Model.client Model.paginate Fields API Client ClientError DateTimeField Field FieldError FieldExternalizeError FieldValueError Handler JSONStringField Model ModelCommand ModelGroup MutableField Paginator RefusedResponseError Related ResponseError RetriesExceededError TokenGetError Example CLI cli2-example-client cli2 Python API Documentation Command Command Group Group Argument Argument Decorators arg() cmd() Display diff() print() render() Colors Configuration Configuration 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 noarg cli2-example nodoc cli2-example nested cli2-example nested nested cli2-example nested nested nested Indices and tables¶ Index Module Index Search Page