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:
parent
fd76766f56
commit
a76cbf29e9
23 changed files with 8 additions and 1193 deletions
|
@ -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
|
||||
|
|
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue