mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
12 lines
309 B
TypeScript
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;
|
|
}
|