Skip to main content

Rougail output environment

Project description


gitea: none include_toc: true

🇬🇧 (EN) - 🇫🇷 (FR)

Export configuration to environment variables

[!NOTE]

Exporting the configuration as an environment variable makes it available to applications that require this type of variable (scripts, Twelve-Factor Apps, etc.).

You can use it, with the appropriate .rougailconf.yaml file, by doing: "source <(rougail)".

Note: A variable within a "sequence" that is disabled for a specific index will be replaced by an empty string.
Path: environment
disabled
Disabled: when the variable "select for output" is accessible and hasn't the value "environment".

Configuration for output environment

[!NOTE]

Path: environment.output
disabled
Disabled: when the variable "select for output" is accessible and hasn't the value "environment".

Variable Description Default value Type Access control Validator
environment.output.prefix
Command line:
--environment.output.prefix
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.PREFIX
Add prefix to environment variables. string
environment.output.boolean_type
Command line:
--environment.output.boolean_type
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.BOOLEAN_TYPE
Booleans are converted into.
There is no boolean in shell, so we have to convert it

"string" means the string "true" or "false"

"number" means the number "1" or "0".
string choice mandatory Choices:
• string
• number
environment.output.upper
Command line:
• --environment.output.upper
• --environment.output.no-upper
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.UPPER
Variables name are upper. true boolean mandatory
environment.output.path_is_variable_name
Command line:
• --environment.output.path_is_variable_name
• --environment.output.no-path_is_variable_name
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.PATH_IS_VARIABLE_NAME
The variables name is, in fact, the path. true boolean mandatory
environment.output.custom_separator
Command line:
--environment.output.custom_separator
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.CUSTOM_SEPARATOR
Replace the separator character "." in path by an other.
The character dot (".") may not be allowed in the environment variable name.
_ string disabled
Disabled: when the variable "The variables name is, in fact, the path" has the value "false".
environment.output.multi_in_array
Command line:
• --environment.output.multi_in_array
• --environment.output.no-multi_in_array
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.MULTI_IN_ARRAY
Multiple values variable will be loaded in a array.
Not all shells support arrays. This feature is not POSIX-compatible, it's a Bash-specific feature (other shells like zsh or ksh also support arrays).

If your shell supports arrays, it is preferable to use them to iterate over the values in the list.
true boolean mandatory
environment.output.multi_separator
Command line:
--environment.output.multi_separator
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.MULTI_SEPARATOR
The separator for multiple values variable. ; string mandatory disabled
Disabled: when the variable "Multiple values variable will be loaded in a array" has the value "true".
environment.output.submulti_separator
Command line:
--environment.output.submulti_separator
Environment variable: ROUGAILCLI_ENVIRONMENT.OUTPUT.SUBMULTI_SEPARATOR
The separator for sub multiple values variable. if "Multiple values variable will be loaded in a array" the value is ";" otherwise the value is ",". string mandatory

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rougail_output_environment-0.1.0.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rougail_output_environment-0.1.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file rougail_output_environment-0.1.0.tar.gz.

File metadata

File hashes

Hashes for rougail_output_environment-0.1.0.tar.gz
Algorithm Hash digest
SHA256 053ffe24e8e5e3d22358a641ec53114490a885d9765201cf0cc32c2d10a57886
MD5 16294663a7bfa1e213c32cae75fdbda0
BLAKE2b-256 45dcefdd8a8cfe4318ad08045565415c76b07e65d2457352b9f297b8b3c0eb43

See more details on using hashes here.

File details

Details for the file rougail_output_environment-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rougail_output_environment-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c368ed0507b2f00852afd1f9c6feb06b5cc8f3cb66a3c42d02e215f48500cb2
MD5 56c90a0b5e207cca4685da8c5ce2a1ac
BLAKE2b-256 795392c272d11f6b8ec4fb77c28da8065a024b6bb0f83ad92b65abd3252c82ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page