Repository URL to install this package:
|
Version:
0.6.0 ▾
|
import { Argument, Command, Group } from './type';
export declare function findLongOption(options: Argument[], string: string): Argument | undefined;
export declare function findOption(options: Argument[], string: string): Argument | undefined;
export declare function isOption(string: string): boolean;
export declare function isOptionPassed(argv: string[], option: Argument): boolean;
export declare function findCommandByFullPath(groups: Group[], commands: Command[], fullPath: string): Command | undefined;
export declare function findGroupAndCommand(argv: string[], groups: Group[], commands: Command[], group?: Group): {
group?: Group;
command?: Command;
};