UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

32 lines 1.05 kB
/** * Help Generator * * Dynamically generates CLI help text from the extension registry. * Replaces hardcoded displayHelp() with registry-driven approach. * * @implements @.aiwg/architecture/decisions/ADR-001-unified-extension-system.md * @tests @test/unit/cli/help-generator.test.ts * @version 1.0.0 */ import type { ExtensionRegistry } from '../extensions/registry.js'; /** * Generate help text from registry * * Dynamically builds CLI help text by querying the extension registry for * command extensions, grouping them by category, and formatting them for display. * * @param registry - Extension registry to query * @returns Formatted help text * * @example * ```typescript * import { getRegistry } from '../extensions/registry.js'; * import { generateHelp } from './help-generator.js'; * * const registry = getRegistry(); * const helpText = generateHelp(registry); * console.log(helpText); * ``` */ export declare function generateHelp(registry: ExtensionRegistry): string; //# sourceMappingURL=help-generator.d.ts.map