Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 508 Bytes

File metadata and controls

19 lines (13 loc) · 508 Bytes

To generate CLI documentation from a argparse parser from parser.py run:

pip install -e ..
mkdocs serve

And visit http://127.0.0.1:8000/cli/.

It should look something like this: Screenshot

The plugin can be further configured see [mkdocs-custom.yml][mkdocs-custom.yml] for an example.

mkdocs build -f mkdocs-custom.yml

And visit http://127.0.0.1:8000/commands/.