2021-06-29 23:57:04 +02:00

13 lines
232 B
TypeScript

export interface CLIEvent {
argv: any
cwd: string
secondInstance: boolean
}
export abstract class CLIHandler {
priority: number
firstMatchOnly: boolean
abstract handle (event: CLIEvent): Promise<boolean>
}