3
0
Fork 0

feat: remove legacy command system

typer is the recommended approach, but any could be used.  we have
nothing significant to offer so better to just not.
This commit is contained in:
Lance Edgar 2024-07-04 14:35:29 -05:00
parent fd76766f56
commit a76cbf29e9
23 changed files with 8 additions and 1193 deletions

View file

@ -43,13 +43,16 @@ be used to avoid unwanted splits.
Specifying via Command Line
---------------------------
All :term:`commands<command>` accept the ``-c`` or ``--config`` params:
While no :term:`commands<command>` are shipped with WuttJamaican,
certain other packages may ship with commands (notably, Rattail). The
convention is to accept a ``--config`` (or ``-c``) param on the
command line, e.g.:
.. code-block:: sh
wutta --config=myapp.conf
rattail --config=myapp.conf
wutta -c first.conf -c second.conf
rattail -c first.conf -c second.conf
Specifying via Environment Variable

View file

@ -43,7 +43,5 @@ For more info see:
* :class:`~wuttjamaican.conf.WuttaConfig` and especially
:meth:`~wuttjamaican.conf.WuttaConfig.get()`
You can also define your own command line interface; see:
* :class:`~wuttjamaican.commands.base.Command`
* :class:`~wuttjamaican.commands.base.Subcommand`
You can also define your own command line interface; see
:doc:`/narr/cli/index`.