UNPKG

bob-the-bundler

Version:
9 lines 406 B
import { CommandModule } from "yargs"; import { Consola } from "consola"; export { CommandModule as Command }; export interface CommandAPI { reporter: Consola; } export declare 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