canaille-globuzma/doc/references/commands.rst

73 lines
1.5 KiB
ReStructuredText
Raw Permalink Normal View History

2024-05-08 08:25:24 +00:00
Command Line Interface
======================
2024-04-06 16:16:48 +00:00
Canaille provide several commands to help administrator manage their data.
Generally, some configuration has to be loaded by `Canaille`.
2024-11-20 13:18:09 +00:00
This can be achieved by :ref:`configuration loading method<references/configuration:Load the configuration>` available, but most of the time a ``CONFIG`` environment variable is used.
For the sake of readability, it is omitted in the following examples.
2024-11-14 16:02:07 +00:00
.. code-block:: shell
env CONFIG=path/to/config.toml canaille ...
.. _cli_check:
2024-04-06 16:16:48 +00:00
.. click:: canaille.app.commands:check
:prog: canaille check
:nested: full
.. _cli_clean:
2024-04-06 16:16:48 +00:00
.. click:: canaille.oidc.commands:clean
:prog: canaille clean
:nested: full
.. _cli_dump:
.. click:: canaille.backends.commands:dump
:prog: canaille dump
:nested: full
.. _cli_install:
2024-04-06 16:16:48 +00:00
.. click:: canaille.app.commands:install
:prog: canaille install
:nested: full
.. _cli_populate:
2024-04-06 16:16:48 +00:00
.. click:: canaille.core.commands:populate
:prog: canaille populate
:nested: full
.. _cli_get:
2024-04-06 16:16:48 +00:00
.. click:: doc.commands:get
:prog: canaille get
:nested: full
.. _cli_set:
2024-04-06 16:16:48 +00:00
.. click:: doc.commands:set
:prog: canaille set
:nested: full
.. _cli_create:
2024-04-06 16:16:48 +00:00
.. click:: doc.commands:create
:prog: canaille create
:nested: full
.. _cli_delete:
2024-04-06 16:16:48 +00:00
.. click:: doc.commands:delete
:prog: canaille delete
2024-05-08 08:25:24 +00:00
:nested: full
2024-11-18 13:16:38 +00:00
.. _cli_reset_otp:
.. click:: canaille.backends.commands:reset_otp
2024-11-18 13:16:38 +00:00
:prog: canaille reset-otp
:nested: full