doc: add info how to run canaille CLI

This commit is contained in:
Stéphane 2024-11-14 17:02:07 +01:00
parent 8f3ea59a70
commit a832c10c80

View file

@ -3,6 +3,13 @@ Command Line Interface
Canaille provide several commands to help administrator manage their data. Canaille provide several commands to help administrator manage their data.
The configuration file has to be prefixed before running `canaille`. For readability's sake, it's omitted in the examples.
.. code-block:: shell
env CONFIG=path/to/config.toml canaille ...
.. _cli_check: .. _cli_check:
.. click:: canaille.app.commands:check .. click:: canaille.app.commands:check