Metadata-Version: 2.4
Name: cli-components
Version: 2026.10.2
Summary: Composable argparse commands and nested CLI modules
License-Expression: AGPL-3.0-only
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# cli-components

A small, dependency-free Python library for composing `argparse` commands and
nested subcommands.

Requires Python 3.11 or newer.

Enables you to create CLIs with component elements and options for each component.

Examples:

```sh
python3 docs/examples/project_cli.py --help
python3 docs/examples/project_cli.py --daemon docker project new demo -v
python3 docs/examples/project_cli.py project template compile --force
```

Import the package as `cli_components`.

See [docs/usage.md](https://git.astras.online/martinjose/cli-components/docs/usage.md) for the API, evaluation result, and more examples.

Licensed under the [GNU Affero General Public License v3](LICENSE).
