Constructors
constructor
- new Environment(cwd, vars, tag): Environment
Parameters
cwd: string
vars: ProcessEnv
tag: string
Properties
Readonly
cwd
cwd: string
Optional
Readonly
tag
tag?: string
Readonly
vars
vars: ProcessEnv
Static
FALSE
FALSE: string[]
Static
initial
Accessors
[toStringTag]
- get [toStringTag](): string
Returns string
Methods
getFlag
- getFlag<T, U>(name, fallback?): T | U
Parameters
name: string
Optional
fallback: (() => T | U)
Returns T | U
getNumber
- getNumber<T, U>(name, fallback?): T | U
Parameters
name: string
Optional
fallback: (() => T | U)
Returns T | U
getString
- getString<T, U>(name, fallback?): T | U
Parameters
name: string
Optional
fallback: (() => T | U)
Returns T | U
Current working directory