Navigation Structure

Table of contents

  1. _env
  2. _strictEnv

Variables can be set in environment variables.

_env

Retrieve an environment variable value or it returns nil.

Usage

key:
  _env: TEST

will be rendered as:

# TEST=value 
key: value

_strictEnv

Retrieve an environment variable value or fails if value is absent.

Usage

key:
  _strictEnv: TEST

will be rendered as:

# TEST=value 
key: value

# TEST=
raise: MissingEnvVariableStrictException