Skip to main content

loadAndRealizeConfigFile

@the-codegen-project/cliDocs


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

ParameterType
filePath?string

Returns

Promise<{ config: TheCodegenConfigurationInternal; filePath: string; }>

NameTypeDefined in
configTheCodegenConfigurationInternalsrc/codegen/configurations.ts:79
filePathstringsrc/codegen/configurations.ts:80

Defined in

src/codegen/configurations.ts:78