rougail/docs/user_data/questionary.rst

55 lines
1.3 KiB
ReStructuredText
Raw Normal View History

2026-06-06 23:22:00 +02:00
Define user data interactively in the console
2025-10-27 06:50:10 +01:00
=============================================
2026-06-06 23:22:00 +02:00
.. note::
| The user will enter variable values in a command-line interface. The variables will be displayed one after another, allowing the user to change or add values.
| **Path**: questionary
| `*disabled*`
| **Disabled**: if questionary is not set in "select for user data" (step.user_data).
.. list-table::
* - Variable
- Description
* - **questionary.mandatory**
`boolean <https://rougail.readthedocs.io/en/latest/variable.html#variables-types>`__ `mandatory`
**Command line**:
- -qm, --questionary.mandatory
- -nqm, --questionary.no-mandatory
**Environment variable**: ROUGAILCLI_QUESTIONARY.MANDATORY
- Ask values only for mandatories variables without any value.
**Default**: false
* - **questionary.show_secrets**
`boolean <https://rougail.readthedocs.io/en/latest/variable.html#variables-types>`__ `mandatory`
**Command line**:
- -qs, --questionary.show_secrets
- -nqs, --questionary.no-show_secrets
**Environment variable**: ROUGAILCLI_QUESTIONARY.SHOW_SECRETS
- Show secrets instead of obscuring them.
**Default**: false