user_data_environment
Find a file
2025-12-30 10:47:49 +01:00
locale fix: doc 2025-12-29 17:52:55 +01:00
src/rougail/user_data_environment bump: version 0.1.0a16 → 0.1.0a17 2025-12-30 10:47:49 +01:00
tests fix: update tests 2025-12-29 12:21:42 +01:00
CHANGELOG.md bump: version 0.1.0a16 → 0.1.0a17 2025-12-30 10:47:49 +01:00
LICENSE add tests 2024-09-18 11:43:22 +02:00
pyproject.toml bump: version 0.1.0a16 → 0.1.0a17 2025-12-30 10:47:49 +01:00
README.fr.md fix: doc 2025-12-29 17:52:55 +01:00
README.md fix: doc 2025-12-29 17:52:55 +01:00

Table of Contents

🇬🇧 (EN) - 🇫🇷 (FR)

Load environment variables

Note

Variable values can be defined directly from an environment variable.

Environnement variable names begin with a prefix (by default ROUGAIL_) followed by the variable path in uppercase, for example: ROUGAIL_MY_VARIABLE. If you are using namespaces, the prefix is the name of the namespace in uppercase.

Note that variable paths can contain dots ("."), which are not permitted everywhere. To avoid any issues, use the env command, for example: env ROUGAIL_MY_FAMILY.MY_VARIABLE=1 rougail.

For values, there is no difference between a number and a letter (they can be enclosed in quotes or not). However, booleans are True or False. The separator for multiple variables is a comma.
Path: environment
disabled
Disabled: if environment is not set in "Select for user datas"

Variable Description Default value Type Validator
environment.default_environment_name
Command line:
--environment.default_environment_name
Environment variable: ENVIRONMENT.DEFAULT_ENVIRONMENT_NAME
Name of the default environment prefix. ROUGAIL string mandatory Should only use uppercase character.
environment.custom_separator
Command line:
--environment.custom_separator
Environment variable: ENVIRONMENT.CUSTOM_SEPARATOR
Replace the separator character "." in path by an other.
The character dot (".") may not be allowed in the environment variable name. Note that the variable name with dots is always available in addition to the name with this character.
string
environment.with_secrets
Command line:
• --environment.with_secrets
• --environment.no-with_secrets
Environment variable: ENVIRONMENT.WITH_SECRETS
Environnement variables may contain secrets. true boolean mandatory