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.

19 lines (18 loc) 574 B
/** * Spawns a shell then executes the command within that shell * */ export declare function executeCommand(command: string, cwd?: string): Promise<string>; /** * * > Tagged Template Literal wrapper around the {executeCommand} utility * @param {string} command as string. * @return {Promise<string>} result from the stdout as string * @throws stderr output as string. * * **Example:** * ```typescript * const animal = await $`echo cat` * ``` */ export declare function $(commandParts: TemplateStringsArray, ...commandOptionParts: string[]): Promise<string>;