| 475 | |
| 476 | /** Instance of the validation module. */ |
| 477 | export interface ValidationInstance { |
| 478 | conflicting(argv: Arguments): void; |
| 479 | conflicts( |
| 480 | key: string | Dictionary<string | string[]>, |
| 481 | value?: string | string[] |
| 482 | ): void; |
| 483 | freeze(): void; |
| 484 | getConflicting(): Dictionary<(string | undefined)[]>; |
| 485 | getImplied(): Dictionary<KeyOrPos[]>; |
| 486 | implications(argv: Arguments): void; |
| 487 | implies( |
| 488 | key: string | Dictionary<KeyOrPos | KeyOrPos[]>, |
| 489 | value?: KeyOrPos | KeyOrPos[] |
| 490 | ): void; |
| 491 | isValidAndSomeAliasIsNotNew( |
| 492 | key: string, |
| 493 | aliases: DetailedArguments['aliases'] |
| 494 | ): boolean; |
| 495 | limitedChoices(argv: Arguments): void; |
| 496 | nonOptionCount(argv: Arguments): void; |
| 497 | positionalCount(required: number, observed: number): void; |
| 498 | recommendCommands(cmd: string, potentialCommands: string[]): void; |
| 499 | requiredArguments( |
| 500 | argv: Arguments, |
| 501 | demandedOptions: Dictionary<string | undefined> |
| 502 | ): void; |
| 503 | reset(localLookup: Dictionary): ValidationInstance; |
| 504 | unfreeze(): void; |
| 505 | unknownArguments( |
| 506 | argv: Arguments, |
| 507 | aliases: DetailedArguments['aliases'], |
| 508 | positionalMap: Dictionary, |
| 509 | isDefaultCommand: boolean, |
| 510 | checkPositionals?: boolean |
| 511 | ): void; |
| 512 | unknownCommands(argv: Arguments): boolean; |
| 513 | } |
| 514 | |
| 515 | interface FrozenValidationInstance { |
| 516 | implied: Dictionary<KeyOrPos[]>; |
no outgoing calls
no test coverage detected
searching dependent graphs…