UNPKG

@jovotech/cli

Version:

Jovo Command Line Interface (Beta)

16 lines (15 loc) 611 B
import { EventEmitter } from '@jovotech/cli-core'; import { Command, Plugin, Topic } from '@oclif/config'; export declare class Collector extends Plugin { get topics(): Topic[]; hooks: {}; commands: Command.Plugin[]; install(commandId: string): Promise<void>; /** * Loads plugins from project and installs respective commands and hooks. * @param argCmd - The current command id passed from process.argv. * @param project - The instantiated project. * @param emitter - The Event Emitter. */ loadPlugins(commandId: string, emitter: EventEmitter): Promise<void>; }