UNPKG

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

67 lines 2.02 kB
/** * CLI Integration for Advanced Template Engine * * This demonstrates how to integrate the revolutionary database-backed * template system with your existing CLI while preserving all functionality. * * @version 3.0.0 * @author Requirements Gathering Agent Team * @created June 2025 */ /** * Enhanced CLI Template Commands * * Add these functions to your existing CLI to support both static and dynamic templates */ /** * Enhanced showAvailableTemplates that combines static and dynamic templates */ export declare function showAvailableTemplatesEnhanced(): Promise<void>; /** * Generate document using advanced template engine */ export declare function generateDocumentAdvanced(templateId: string, options?: { variables?: Record<string, any>; outputDir?: string; quiet?: boolean; }): Promise<void>; /** * Show detailed information about a specific template */ export declare function showTemplateInfo(templateId: string): Promise<void>; /** * Migrate static templates to dynamic format */ export declare function migrateStaticTemplates(options?: { force?: boolean; }): Promise<void>; /** * Parse variables from command line arguments */ export declare function parseVariablesFromArgs(args: string[]): Record<string, any>; /** * Integration functions for existing CLI */ export declare const CLI_INTEGRATION: { /** * Add these command handlers to your main CLI function */ commandHandlers: { '--list-templates': typeof showAvailableTemplatesEnhanced; '--generate-advanced': typeof generateDocumentAdvanced; '--template-info': typeof showTemplateInfo; '--migrate-templates': typeof migrateStaticTemplates; }; /** * Add these argument parsers */ argumentParsers: { parseVariables: typeof parseVariablesFromArgs; }; /** * Example integration in main CLI function */ exampleIntegration: string; }; export default CLI_INTEGRATION; //# sourceMappingURL=CLIIntegration.d.ts.map