void-cmd
Version:
AI-powered CLI tool that converts natural language to shell commands using Cerebras API
16 lines (15 loc) • 557 B
TypeScript
import { Command, CommandOptions } from '../types';
declare class CommandManager {
private commands;
constructor();
private registerDefaultCommands;
register(command: Command): void;
execute(commandName: string, options: CommandOptions): Promise<void>;
getCommands(): Map<string, Command>;
}
export { CommandManager };
export { ConvertCommand } from './convert';
export { SettingsCommand } from './settings';
export { HelpCommand } from './help';
export { ExplainCommand } from './explain';
export { UpdateCommand } from './update';