loadConfigFile
@the-codegen-project/cli • Docs
Home / loadConfigFile
Function: loadConfigFile()
function loadConfigFile(filePath?): Promise<{
config: TheCodegenConfiguration;
filePath: string;
}>
Load configuration from file.
Parameters
Parameter | Type |
---|---|
filePath ? | string |
Returns
Promise
<{
config
: TheCodegenConfiguration
;
filePath
: string
;
}>
Name | Type | Defined in |
---|---|---|
config | TheCodegenConfiguration | src/codegen/configurations.ts:49 |
filePath | string | src/codegen/configurations.ts:50 |