@broadcom/endevor-bridge-for-git-for-zowe-cli
Version:
Endevor Bridge for Git plug-in for Zowe CLI
19 lines (18 loc) • 708 B
TypeScript
import { ICommandOptionDefinition, ISession } from "@zowe/imperative";
export declare class OptionValidator {
static readonly MISSING_ARGS_MSG = "missing arguments ";
private static readonly DEFAULT_OPTIONS_GROUP;
private missingOptions;
/**
* Adds the option as a missing option
*
* @param optionDefinition missing option
*/
addMissingOption(optionDefinition: ICommandOptionDefinition): void;
/**
* Checks that there is not missing required options. It must be checked at the beginning of the command handlers.
*/
validateRequiredOptions(): void;
isMissingOptions(group: string): boolean;
isMissingCredentials(session: ISession): boolean;
}