CLIConfigParser
@agros/config / CLIConfigParser
Class: CLIConfigParser
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new CLIConfigParser()
Defined in
Properties
cliConfig
• Private cliConfig: CLIConfig
Defined in
configFilePath
• Private Readonly configFilePath: string
Defined in
defaultCLIConfig
• Private defaultCLIConfig: CLIConfig
Defined in
Methods
getConfig
▸ getConfig<T>(pathname?): T
Type parameters
| Name |
|---|
T |
Parameters
| Name | Type |
|---|---|
pathname? | string |
Returns
T
Defined in
reloadUserConfig
▸ Private reloadUserConfig(): void
Returns
void
Defined in
setConfig
▸ setConfig(pathname, value): void
Parameters
| Name | Type |
|---|---|
pathname | string |
value | any |
Returns
void