| 352 | command: Command; |
| 353 | } |
| 354 | export interface OutputConfiguration { |
| 355 | writeOut?(str: string): void; |
| 356 | writeErr?(str: string): void; |
| 357 | outputError?(str: string, write: (str: string) => void): void; |
| 358 | |
| 359 | getOutHelpWidth?(): number; |
| 360 | getErrHelpWidth?(): number; |
| 361 | |
| 362 | getOutHasColors?(): boolean; |
| 363 | getErrHasColors?(): boolean; |
| 364 | stripColor?(str: string): string; |
| 365 | } |
| 366 | |
| 367 | export type AddHelpTextPosition = 'beforeAll' | 'before' | 'after' | 'afterAll'; |
| 368 | export type HookEvent = 'preSubcommand' | 'preAction' | 'postAction'; |
no outgoing calls
no test coverage detected