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.
12 lines (11 loc) • 602 B
TypeScript
import type { ResolvedCliOptions } from '../config/cli-options';
import type { AppIconDetails } from './provide-icon';
/**
* Adds an app icon to the build directory. The icon can either be named "icon.png" or "icon.svg",
* or a custom path can be provided in the "icon" field of the config. If no icon is provided,
* a generated icon is used instead.
* @param options The options object
* @param distDir The resolved build directory
* @returns The icon object for the manifest,
*/
export declare function addAppIconToBuild(options: ResolvedCliOptions, distDir: string): Promise<AppIconDetails>;