UNPKG

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.

21 lines (20 loc) 907 B
/** * Searches for app.config.{json,js,ts} in root of project and returns * config if one exists * @internal * @deprecated Use _GetDtAppFileConfig instead */ 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: .cts > .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>; /** * Prompts the user to create a default app.config.json * @returns the name of the created config file or undefined if no file was created. */ export declare function createDefaultConfig(cwd: string): Promise<string | undefined>;