(parsedInput: ParsedTokens)
| 40 | |
| 41 | /** @internal */ |
| 42 | export const getCommandPath = (parsedInput: ParsedTokens): ReadonlyArray<string> => |
| 43 | Option.match(parsedInput.subcommand, { |
| 44 | onNone: () => [], |
| 45 | onSome: (subcommand) => [subcommand.name, ...getCommandPath(subcommand.parsedInput)] |
| 46 | }) |
| 47 | |
| 48 | /** @internal */ |
| 49 | export const parseArgs = ( |
nothing calls this directly
no outgoing calls
no test coverage detected