Files
huishou/node_modules/@simple-git/argv-parser/dist/src/tokens/token-expander.d.ts
T
2026-07-27 13:37:48 +08:00

8 lines
322 B
TypeScript

/** Parse a single raw token (e.g. `'-m'`, `'--amend'`, `'-uc'`) into one or
* more switch descriptors. Values are not yet resolved for needsNext=true. */
export declare function expandToken(raw: string, spec?: import("./flag-specs").FlagSpec): Array<{
name: string;
value?: string;
needsNext: boolean;
}>;