dt-app
Version:
The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.
14 lines (13 loc) • 604 B
TypeScript
/**
* Searches for app.config.{json,js,ts} in root of project and returns
* config if one exists
*/
export declare function getDtAppFileConfig(root: string, skipTypeCheck?: boolean): Promise<any>;
/**
* Searches for the config file in the given path and returns the name of it. (extension priority is: .ts > .js > .json).
*
* If multiple configuration files are detected, a warning will be logged.
* @param cwd path where the config file should be located
* @returns configFileName if found, or undefined if not found.
*/
export declare function getConfigFileName(cwd: string): Promise<string>;