Interface CliEnvVariableInformation<NAME, BLOCK>

Generic information about a CLI environment variable.

Type Parameters

  • NAME = string

  • BLOCK = string

Hierarchy

  • CliEnvVariableInformation

Properties

block: BLOCK

The ENV variable block.

censor?: boolean

Censor variable per default to prevent leaks.

default?: string | ((configDir: string) => string)

The default value.

defaultValue?: string | ((configDir: string) => string)

The default value for example to display relative paths in 'default' but use absolute path as 'defaultValue'.

description: string

The description of the environment variable.

example?: string

Usage example.

legacyNames?: string[]

Legacy names of ENV variable.

name: NAME

The name of the environment variable.

required?: boolean

Is required to run the program.

The supported values.

Generated using TypeDoc