import { CodeBuilder, CommandMeta, GeneratorContext } from "../types.mjs"; //#region src/codegen/generators/command-file.d.ts interface CommandFileOptions { /** Wrap config: generates .wrap() instead of .action(). */ wrap?: { /** The external command to wrap (e.g. 'gh'). */command: string; /** Fixed args preceding the options (e.g. ['pr', 'list']). */ args?: string[]; }; /** Subcommand references to wire into this command via .command() calls. */ subcommands?: { name: string; varName: string; importPath: string; aliases?: string[]; }[]; } /** * Generate a single Padrone command file from a CommandMeta. * Produces a named function that chains .configure(), .arguments(), and .wrap() or .action(). */ declare function generateCommandFile(command: CommandMeta, ctx: GeneratorContext, options?: CommandFileOptions): CodeBuilder; //#endregion export { CommandFileOptions, generateCommandFile }; //# sourceMappingURL=command-file.d.mts.map