A command-line argument parser that builds itself.
Project description
Introduction
CLAP is the command-line argument parser that builds itself.
It is designed to be easy to use, by building itself based on a function’s signature and documentation.
This project is not intended to be used for simple scripts, but rather command-line tools that have multiple sub-commands and options. (I would like to add support for simple scripts in the future.)
Getting Started
Requires Python 3.8+ and uses NumPy-style docstrings.
Available on PyPI as ndg.clap. Install it with PIP.
python -m pip install -U ndg.clap
For an example project, see fuji.
Room for Improvement
Add support for simple scripts
Add documentation using Sphinx
Add unit tests
Add examples
Write a better README
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.