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.

15 lines (14 loc) 564 B
import { type TreeNode } from '../utils/layout'; /** Create function script */ export declare function generateFunction(options: { /** Has the name of the function. Can also be a path with the name (e.g functions/hello) */ name: string; /** Specifies in which folder the function should be generated in */ functionsDir: string; /** Has the current working directory */ cwd: string; /** Whether to write to the filesystem or not */ dryRun?: boolean; /** Source root of the files */ sourceRoot: string; }): Promise<TreeNode>;