bob-the-bundler
Version:
Bob The Bundler!
9 lines • 424 B
TypeScript
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