2
0
Fork 0
wuttjamaican/docs/narr/cli/commands.rst

24 lines
787 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Commands
========
WuttJamaican in fact does not directly provide a way to define a
command line interface for your app.
The reason is that several good frameworks exist already. You are
encouraged to use one of the following to define
:term:`commands<command>` and :term:`subcommands<subcommand>` as
needed:
* `Typer <https://typer.tiangolo.com/>`_
* `Click <https://click.palletsprojects.com/en/latest/>`_
* :mod:`python:argparse`
For even more options see:
* `awesome-cli-framework <https://github.com/shadawck/awesome-cli-frameworks/blob/master/README.md#python>`_
* `Hitchhikers Guide to Python <https://docs.python-guide.org/scenarios/cli/>`_
* `Python Wiki <https://wiki.python.org/moin/CommandlineTools>`_
Or if that is overkill you can always just use :doc:`scripts`.