@zowe/imperative
Version:
framework for building configurable CLIs
18 lines • 805 B
TypeScript
import { IProfileProperty } from "../../../profiles";
export interface IConfigBuilderOpts {
/**
* Specify true to populate default values for profile properties with the
* `IProfileProperty.includeInTemplate` flag set to true.
*/
populateProperties?: boolean;
/**
* Callback that prompts the user to enter a value for a profile property.
* The method will be called to populate missing values in the base profile.
* It should return the value that the user entered, or null or undefined if
* the prompt was cancelled.
* @param propName The name of the property
* @param property The profile property definition
*/
getValueBack?(propName: string, property: IProfileProperty): Promise<any>;
}
//# sourceMappingURL=IConfigBuilderOpts.d.ts.map