UNPKG

@every-env/cli

Version:

Multi-agent orchestrator for AI-powered development workflows

26 lines 999 B
import { CommandPattern } from '../patterns/registry/types.js'; import { Config } from '../types/config.js'; export interface CommandDefinition { name: string; description: string; aliases?: string[]; defaultPatterns?: CommandPattern[]; variables?: Record<string, any>; validateConfig?: (config: Config) => string[]; } export declare class CommandRegistry { private commands; private aliases; private patternLoader; constructor(); register(command: CommandDefinition): void; get(nameOrAlias: string): CommandDefinition | undefined; has(nameOrAlias: string): boolean; list(): CommandDefinition[]; getPatternsForCommand(commandName: string, config?: Config): Promise<CommandPattern[]>; getCommandVariables(commandName: string): Record<string, any>; validateCommand(commandName: string, config: Config): string[]; clear(): void; static createBuiltInCommands(): CommandRegistry; } //# sourceMappingURL=command-registry.d.ts.map