@zowe/imperative
Version:
framework for building configurable CLIs
33 lines • 886 B
TypeScript
import { IProfileSchema } from "../../../profiles";
/**
* This type corresponds to the `extenders.json` file stored in the CLI home directory.
*
* Here is an example structure of what `extenders.json` could look like on disk:
* ```json
* {
* "profileTypes": {
* "banana": {
* "from": ["@zowe/banana-for-zowe-cli", "Zowe Explorer Banana Extension"],
* "version": "v1.1.0",
* "latestFrom": "Zowe Explorer Banana Extension"
* }
* }
* }
* ```
*/
export type IExtendersJsonOpts = {
profileTypes: Record<string, {
from: string[];
version?: string;
latestFrom?: string;
}>;
};
export type IAddProfTypeResult = {
success: boolean;
info: string;
};
export type IExtenderTypeInfo = {
sourceApp: string;
schema: IProfileSchema;
};
//# sourceMappingURL=IExtenderOpts.d.ts.map