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.
26 lines (25 loc) • 638 B
TypeScript
import type { FileMap } from './file-map';
import { type TreeNode } from '../../utils/layout';
/**
* Whether the file extension of the given filename can be formatted as a template
* @internal
*/
export declare function canBeFormatted(filename: string): boolean;
/**
* Load templates from a folder and apply data to it
* @internal
*/
export declare function loadTemplates(options: {
templateDir: string;
destFolder?: string;
data?: {
[key: string]: string;
};
relativeTo?: string;
prettierConfig?: {
[key: string]: unknown;
};
}): {
files: FileMap;
generatedFiles: TreeNode[];
};