Skip to content

Commit

Permalink
fix tutorial.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Feb 26, 2024
1 parent a9acf3f commit a8d5dbc
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions doc/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ Using the :class:`~django_typer.TyperCommand` class is very similar to using the
class. The main difference is that we use Typer_'s decorators, classes and type annotations
to define the command's command line interface instead of argparse_ as BaseCommand_ expects.

* Define your command CLI interface in a clear, DRY and safe way using type hints
* Create subcommand and group command hierarchies.
* Use the full power of Typer's parameter types to validate and parse command line inputs.
* Create beautiful and information dense help outputs.
* Configure the rendering of exception stack traces using rich.
* :ref:`Install shell tab-completion support <shellcompletions>` for TyperCommands and normal
Django_ commands for bash_, zsh_, fish_ and powershell_.
* :ref:`Create custom and portable shell tab-completions for your CLI parameters.
<define-shellcompletions>`
* Refactor existing management commands into TyperCommands because TyperCommand is interface
compatible with BaseCommand.

Upstream Libraries
------------------

Expand Down Expand Up @@ -437,4 +425,4 @@ closepoll command looks like:
.. only:: latex

.. image:: /_static/img/closepoll_example.png
:align: center
:align: center

0 comments on commit a8d5dbc

Please sign in to comment.