Exploring Python command-line interface (CLI) packages with example applications.
There are several available packages for building CLI applications in Python.
In this project, we are going to build a CLI app called skcli
to manage password of different applications. This CLI app will be implemented by using each package listed above.
For concrete implementation using each Python package, please see below:
- argparse-app
- click-app
- typer-app
- python-fire-app
- prompt-toolkit-app
- cement-app
- cliff-app
- plac-app
- docopt-ng-app
To try each example CLI app, the steps are:
- enter into the directory
- create a Python virtual environment by run
python -m venv .venv
- run
pip install -e .
- test
skcli --help
to explore the usage.
If you have any question about this opinionated list, do not hesitate to contact me @jgujerry on X (Twitter) or open an issue on GitHub.
This project is released under MIT License