Examples¶
Live demos¶
Base parser rendering¶
Example CLI showing how sphinx-autodoc-argparse renders parsers.
Usage¶
usage: myapp [-h] [--verbose] [--config PATH] {mysubcommand,myothersubcommand} ...
Options¶
Subcommand rendering¶
Drill into a single subcommand with :path::
Execute the primary task with configurable output.
Usage¶
usage: myapp mysubcommand [-h] [--output DIR] [--format {text,json}] [--clean]
Options¶
Inline roles¶
The exemplar layer also registers live inline roles for CLI prose:
myapp, --verbose, json,
DIR, and text.