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.
17 lines (16 loc) • 697 B
TypeScript
import type { CliOptions } from '../utils/config/cli-options';
import type { TreeNode } from '../utils/layout';
export declare const APP_CONFIG_JSON_FILE_NAME = "app.config.json";
/**
* Updates the application configuration JSON by adding a new action and ensuring
* the necessary scopes are present. If the application is not hidden, it sets it to hidden.
* Finally, it writes the updated configuration to a template file.
*/
export declare function updateAppConfigJson(options: {
appConfig: CliOptions;
actionName: string;
/** Has the current working directory */
cwd: string;
/** Whether to write to the filesystem or not */
dryRun?: boolean;
}): Promise<TreeNode>;