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.

47 lines (46 loc) 1.8 kB
import { type TreeNode } from './layout'; /** * Generate instructions to run functions or actions * along with its respective tests * @param options Values we will need to identify all the created/modified files */ export declare function generateInstructions(options: { insertedName: string; displayUtilities: boolean; generatedFiles: TreeNode[][]; extraFunctionality?: () => void; }): void; /** * Main output header when performing some actions * includes starting frame along with small text of Dynatrace App Toolkit */ export declare function generateDtAppOutputHeader(): void; /** * Final output that displays done along with a closing frame */ export declare function generateDoneFinalOutput(addNewLine?: 'empty' | 'new' | 'none'): void; /** * Main function that outputs the whole create app information to the user * @param data Information of the app along with flags user has used during the creation */ export declare function generateCreateAppInstructions(data: { name: string; appId: string; workspace: string; gitRepositoryInitialized: boolean; template: string; skipInstall: boolean; generatedFiles: TreeNode[][]; }): void; /** * Appends file to the array of all reported Generated files * @param filePath The new file we want to include in the generatedFiles with the whole path * @param generatedFiles Array with all the reported generated files so far * @returns The generatedFiles array including the new file */ export declare function appendGeneratedFiles(filePath: string, generatedFiles: TreeNode[]): typeof generatedFiles; /** * Generates the output for a successful authentication * @param email Email we will display if available */ export declare function generateEmailOutput(email: string | null): void;