( builder?: CommandBuilder | CommandBuilderDefinition )
| 813 | } |
| 814 | |
| 815 | export function isCommandBuilderDefinition( |
| 816 | builder?: CommandBuilder | CommandBuilderDefinition |
| 817 | ): builder is CommandBuilderDefinition { |
| 818 | return ( |
| 819 | typeof builder === 'object' && |
| 820 | !!(builder as CommandBuilderDefinition).builder && |
| 821 | typeof (builder as CommandBuilderDefinition).handler === 'function' |
| 822 | ); |
| 823 | } |
| 824 | |
| 825 | export interface CommandHandlerCallback { |
| 826 | (argv: Arguments): any; |
no outgoing calls
no test coverage detected
searching dependent graphs…