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.
43 lines (42 loc) • 1.08 kB
TypeScript
import type { Template } from './utils/template';
import type { Action } from '@dynatrace/openkit-js';
/**
* @internal
*/
export type TemplateConfig = {
version: string;
dtApp: string;
/** The app name without being parsed */
name: string;
/** This is the parsed app name that can be used as a directory */
workspace: string;
gatewayURL: string;
templateName?: string;
};
/**
* The main function that scaffolds a new project
* @internal
*/
export declare function createProject(options: {
dir: string;
environmentUrl: string;
template: Template;
cwd: string;
name?: string;
dryRun?: boolean;
skipInstall?: boolean;
gitRepository?: boolean;
}, rootAction?: Action): Promise<void>;
/**
* Creates the file buffer for the app.config.json file.
* @param config contains the content of the config object.
* @internal
*/
export declare function createDtAppConfigBuffer(config: {
[key: string]: string;
}, metadata: {
name: string;
version: string;
description: string;
appId: string;
}): Buffer;