adpa-enterprise-framework-automation
Version:
Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe
106 lines • 2.5 kB
TypeScript
/**
* Command Integration Service
*
* Provides seamless integration between the interactive CLI menu system
* and existing yargs command handlers. This service maps menu actions
* to command handlers and executes them directly without spawning child processes.
*
* @version 1.0.0
* @author ADPA Team
*/
export interface CommandExecutionResult {
success: boolean;
message?: string;
error?: Error;
}
export interface CommandOptions {
[key: string]: any;
}
/**
* Command Integration Service
* Maps interactive menu commands to actual command handlers
*/
export declare class CommandIntegrationService {
/**
* Execute a command with the given arguments
*/
executeCommand(command: string, args?: string[]): Promise<CommandExecutionResult>;
/**
* Parse command line arguments into options object
*/
private parseArguments;
/**
* Handle generate command
*/
private handleGenerate;
/**
* Handle generate-category command
*/
private handleGenerateCategory;
/**
* Handle generate-all command
*/
private handleGenerateAll;
/**
* Handle generate-core-analysis command
*/
private handleGenerateCoreAnalysis;
/**
* Handle list-templates command
*/
private handleListTemplates;
/**
* Handle analyze command
*/
private handleAnalyze;
/**
* Handle status command
*/
private handleStatus;
/**
* Handle validate command
*/
private handleValidate;
/**
* Handle setup command
*/
private handleSetup;
/**
* Handle stakeholder commands
*/
private handleStakeholder;
/**
* Handle business-analysis commands
*/
private handleBusinessAnalysis;
/**
* Handle risk-compliance command
*/
private handleRiskCompliance;
/**
* Handle feedback command
*/
private handleFeedback;
/**
* Handle confluence commands
*/
private handleConfluence;
/**
* Handle sharepoint commands
*/
private handleSharePoint;
/**
* Handle vcs commands
*/
private handleVcs;
/**
* Handle user stories commands
*/
private handleStrategicPlanning;
private handleRequirementsGeneration;
private handleTechnologyAnalysis;
private handleRiskManagement;
private handleComprehensiveAnalysis;
}
export default CommandIntegrationService;
//# sourceMappingURL=CommandIntegration.d.ts.map