loadAndRealizeConfigFile
@the-codegen-project/cli • Docs
Home / loadAndRealizeConfigFile
Function: loadAndRealizeConfigFile()
function loadAndRealizeConfigFile(filePath?): Promise<{
config: TheCodegenConfigurationInternal;
filePath: string;
}>
Load the configuration file and realize it with default options if necessary.
Parameters
Parameter | Type |
---|---|
filePath ? | string |
Returns
Promise
<{
config
: TheCodegenConfigurationInternal
;
filePath
: string
;
}>
Name | Type | Defined in |
---|---|---|
config | TheCodegenConfigurationInternal | src/codegen/configurations.ts:79 |
filePath | string | src/codegen/configurations.ts:80 |