EnvVar
sourceA partial representation of an environment variable that has a type but has not yet been bound to a name.
Constructors
new EnvVar<T>(parser: Parser<T>): EnvVarsource
Properties
isRequired: booleansource
parser: Parser<T>source
Methods
Static methods
integer(minMax: MinMax): EnvVarsource
oneOf<T extends string>(values: T[]): EnvVarsource
portNumber(): EnvVarsource
Instance methods
consume(name: string): Maybe<T>source
consumes(name: string): ConsumedVarsource
consumes(name: string, defaultValue: T): ConsumedVarsource