@every-env/cli
Version:
Multi-agent orchestrator for AI-powered development workflows
25 lines • 1.24 kB
TypeScript
import { Command } from 'commander';
import { Config } from '../types/config.js';
import { PatternLoader } from '../patterns/registry/pattern-loader.js';
import { CommandPatternExecutor, CommandExecutionOptions } from '../patterns/command-pattern-executor.js';
import { CommandRegistry } from './command-registry.js';
import { AgentResult } from '../agents/base-agent.js';
export interface PatternCommandOptions {
name: string;
description: string;
commandRegistry: CommandRegistry;
}
export declare abstract class BasePatternCommand {
protected name: string;
protected description: string;
protected commandRegistry: CommandRegistry;
protected patternLoader: PatternLoader;
protected executor: CommandPatternExecutor;
constructor(options: PatternCommandOptions);
abstract configureCommand(command: Command): void;
protected executeCommand(config: Config, patternNames?: string[], options?: CommandExecutionOptions): Promise<AgentResult[]>;
protected listPatterns(config: Config): Promise<void>;
protected validatePatterns(config: Config, patternNames: string[]): Promise<string[]>;
protected handleCommonOptions(command: Command): void;
}
//# sourceMappingURL=base-command.d.ts.map