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.
2024-11-20 13:10:35 +00:00
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.
2024-11-20 13:10:35 +00:00
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 ...
2024-05-13 14:44:02 +00:00
.. _cli_check:
2024-04-06 16:16:48 +00:00
.. click :: canaille.app.commands:check
:prog: canaille check
:nested: full
2024-05-13 14:44:02 +00:00
.. _cli_clean:
2024-04-06 16:16:48 +00:00
.. click :: canaille.oidc.commands:clean
:prog: canaille clean
:nested: full
2024-05-13 14:44:02 +00:00
.. _cli_install:
2024-04-06 16:16:48 +00:00
.. click :: canaille.app.commands:install
:prog: canaille install
:nested: full
2024-05-13 14:44:02 +00:00
.. _cli_populate:
2024-04-06 16:16:48 +00:00
.. click :: canaille.core.commands:populate
:prog: canaille populate
:nested: full
2024-05-13 14:44:02 +00:00
.. _cli_get:
2024-04-06 16:16:48 +00:00
.. click :: doc.commands:get
:prog: canaille get
:nested: full
2024-05-13 14:44:02 +00:00
.. _cli_set:
2024-04-06 16:16:48 +00:00
.. click :: doc.commands:set
:prog: canaille set
:nested: full
2024-05-13 14:44:02 +00:00
.. _cli_create:
2024-04-06 16:16:48 +00:00
.. click :: doc.commands:create
:prog: canaille create
:nested: full
2024-05-13 14:44:02 +00:00
.. _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-14 11:12:33 +00:00
2024-11-18 13:16:38 +00:00
.. _cli_reset_otp:
2024-11-14 11:12:33 +00:00
2024-12-11 22:53:37 +00:00
.. click :: canaille.backends.commands:reset_otp
2024-11-18 13:16:38 +00:00
:prog: canaille reset-otp
2024-11-14 11:12:33 +00:00
:nested: full