| 1 |
CLI |
| 2 |
=== |
| 3 |
|
| 4 |
This part of the documentation covers the CLI interface and |
| 5 |
is auto-generated by sphinx-click extension. |
| 6 |
|
| 7 |
.. warning:: |
| 8 |
|
| 9 |
The CLI interface differs depending on the available opt-in extensions: |
| 10 |
|
| 11 |
- Sphinx |
| 12 |
- Toml |
| 13 |
|
| 14 |
The documentation shown here uses all opt-in features. |
| 15 |
|
| 16 |
.. note:: |
| 17 |
|
| 18 |
More information about the single configuration options can be found in the |
| 19 |
:ref:`usage/config:Configuration` section |
| 20 |
|
| 21 |
.. note:: |
| 22 |
|
| 23 |
If you get an exception and the pretty output makes the exception information unreadable try |
| 24 |
to run rstcheck with the environment variable ``_TYPER_STANDARD_TRACEBACK`` set to ``1`` like |
| 25 |
``_TYPER_STANDARD_TRACEBACK=1 rstcheck somefile.rst```. |
| 26 |
Read more at `typer's docs`_. |
| 27 |
|
| 28 |
|
| 29 |
.. click:: rstcheck._cli:typer_click_object |
| 30 |
:prog: rstcheck |
| 31 |
:show-nested: |
| 32 |
|
| 33 |
.. _typer's docs: https://typer.tiangolo.com/tutorial/exceptions/#disable-pretty-exceptions |