UNPKG

bob-the-bundler

Version:
9 lines 398 B
import { Consola } from 'consola'; import { CommandModule } from 'yargs'; export { CommandModule as Command }; export interface CommandAPI { reporter: Consola; } export type CommandFactory<T = {}, U = {}> = (api: CommandAPI) => CommandModule<T, U>; export declare function createCommand<T = {}, U = {}>(factory: CommandFactory<T, U>): CommandFactory<T, U>; //# sourceMappingURL=command.d.ts.map