/** * CLI command for installing skills from external GitHub repositories * * Handles: nori-skillsets external [options] */ import { type CliName } from "../cliCommandNames.js"; import type { CommandStatus } from "../commandStatus.js"; import type { Command } from "commander"; /** * Download and install skills from an external GitHub repository * * @param args - The function arguments * @param args.source - GitHub URL or shorthand (owner/repo) * @param args.cwd - Current working directory * @param args.installDir - Optional explicit install directory * @param args.skillset - Optional skillset name to add skills to * @param args.newSkillset - Optional name for a new skillset to create and install skills into * @param args.skill - Optional specific skill name to install * @param args.all - Install all discovered skills without prompting * @param args.ref - Optional branch/tag to checkout * @param args.inline - If true, set all skills to inlined-skill without prompting * @param args.extract - If true, set all skills to skill without prompting * @param args.cliName - CLI name for user-facing messages * * @returns Command status */ export declare const externalMain: (args: { source: string; cwd?: string | null; installDir?: string | null; skillset?: string | null; newSkillset?: string | null; skill?: string | null; all?: boolean | null; ref?: string | null; inline?: boolean | null; extract?: boolean | null; cliName?: CliName | null; }) => Promise; /** * Register the 'external-skill' command with commander * * @param args - Configuration arguments * @param args.program - Commander program instance */ export declare const registerExternalSkillCommand: (args: { program: Command; }) => void; //# sourceMappingURL=external.d.ts.map