node-ejs-renderer/node_modules/yargs/build/lib/parse-command.d.ts
2024-06-09 13:55:01 -04:00

12 lines
309 B
TypeScript

import { NotEmptyArray } from './common-types';
export declare function parseCommand(cmd: string): ParsedCommand;
export interface ParsedCommand {
cmd: string;
demanded: Positional[];
optional: Positional[];
}
export interface Positional {
cmd: NotEmptyArray<string>;
variadic: boolean;
}