Constructors
constructor
- new YargsCommand(
opts: {
command: string;
commandDef: any;
description: string;
handler: string;
},
flags: {
optionalFlags: CommandFlag[];
requiredFlags: CommandFlag[];
requiredFlagsWithDisabledPrompt: CommandFlag[];
},
): YargsCommand Parameters
- opts: { command: string; commandDef: any; description: string; handler: string }
- flags: {
optionalFlags: CommandFlag[];
requiredFlags: CommandFlag[];
requiredFlagsWithDisabledPrompt: CommandFlag[];
}