| locale | ||
| src/rougail/user_data_environment | ||
| tests | ||
| CHANGELOG.md | ||
| LICENSE | ||
| pyproject.toml | ||
| README.fr.md | ||
| README.md | ||
Table of Contents
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 theenvcommand, 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 |