| 34 | |
| 35 | /** How to read flags that are not common to every gh command. */ |
| 36 | export interface ArgvSpec { |
| 37 | /** Flags that take a value, in addition to `commonValuedFlags`. */ |
| 38 | valued?: readonly string[]; |
| 39 | /** Alternative spellings, mapped to the canonical flag. */ |
| 40 | aliases?: Readonly<Record<string, string>>; |
| 41 | /** Repeatable flags whose values are joined with commas rather than replaced. */ |
| 42 | joined?: readonly string[]; |
| 43 | } |
| 44 | |
| 45 | /** A parsed gh argv. */ |
| 46 | export interface ParsedArgv { |
nothing calls this directly
no outgoing calls
no test coverage detected