| 30 | * Contract for a CLI plugin. |
| 31 | */ |
| 32 | export interface CliPlugin { |
| 33 | /** |
| 34 | * Plugin's display name. |
| 35 | */ |
| 36 | name: string; |
| 37 | |
| 38 | /** |
| 39 | * Text to show during generation. |
| 40 | */ |
| 41 | statusText?: string; |
| 42 | |
| 43 | /** |
| 44 | * Code generation callback. |
| 45 | */ |
| 46 | generate(context: CliGeneratorContext): MaybePromise<void>; |
| 47 | } |
no outgoing calls
no test coverage detected