UNPKG

bob-the-bundler

Version:
9 lines 424 B
import { type ConsolaInstance } from 'consola'; import { type CommandModule } from 'yargs'; export { CommandModule as Command }; export interface CommandAPI { reporter: ConsolaInstance; } 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