|
20 | 20 | extends that support to native Django_ management commands as well.
|
21 | 21 |
|
22 | 22 |
|
23 |
| -The goal of django-typer_ is to provide full typer style functionality while maintaining |
24 |
| -compatibility with the Django management command system. This means that the BaseCommand |
| 23 | +The goal of django-typer_ is to provide full Typer_ style functionality while maintaining |
| 24 | +compatibility with the Django management command system. This means that the BaseCommand_ |
25 | 25 | interface is preserved and the Typer_ interface is added on top of it. This means that
|
26 | 26 | this code base is more robust to changes in the Django management command system - because
|
27 | 27 | most of the base class functionality is preserved but many Typer_ and click_ internals are
|
@@ -1544,7 +1544,7 @@ class write method.
|
1544 | 1544 | class TyperCommand(BaseCommand, metaclass=TyperCommandMeta):
|
1545 | 1545 | """
|
1546 | 1546 | An extension of BaseCommand_ that uses the Typer_ library to parse
|
1547 |
| - arguments and options. This class adapts BaseCommand_ using a light touch |
| 1547 | + arguments_ and options_. This class adapts BaseCommand_ using a light touch |
1548 | 1548 | that relies on most of the original BaseCommand_ implementation to handle
|
1549 | 1549 | default arguments and behaviors.
|
1550 | 1550 |
|
@@ -1626,7 +1626,8 @@ def command2(self, option: t.Optional[str] = None):
|
1626 | 1626 | - Using the `rich_markup_mode parameter
|
1627 | 1627 | <https://typer.tiangolo.com/tutorial/commands/help/#rich-markdown-and-markup>`_ to enable
|
1628 | 1628 | markdown rendering in help output.
|
1629 |
| - - Using the chain parameter to enable command chaining. |
| 1629 | + - Using the chain parameter to enable `command chaining |
| 1630 | + <https://click.palletsprojects.com/commands/#multi-command-chaining>`_. |
1630 | 1631 |
|
1631 | 1632 |
|
1632 | 1633 | We can see that our help renders like so:
|
|
0 commit comments