Skip to main content

terafoundation / sysconfig

sysconfig

Functions

getArgs()

getArgs<S>(defaultConfigFile?): Promise<ParsedArgs<S>>

Type parameters

Type parameterValue
SRecord<string, unknown>

Parameters

ParameterType
defaultConfigFile?string

Returns

Promise<ParsedArgs<S>>

Source

sysconfig.ts:42


getDefaultConfigFile()

getDefaultConfigFile(): string | undefined

Returns

string | undefined

Source

sysconfig.ts:8


parseConfigFile()

parseConfigFile<D>(file): Promise<D>

Type parameters

Type parameterValue
DRecord<string, any>

Parameters

ParameterType
filestring

Returns

Promise<D>

Source

sysconfig.ts:67