Skip to main content

skill_cli_commands

Function skill_cli_commands 

Source
pub fn skill_cli_commands(
    spec: &SkillSpec<'_>,
    output: &OutputSpec,
) -> Vec<CommandSpec>
Expand description

The skill command group and its three verbs, for spec’s skill.

Every combination uses output, so the verbs accept exactly the formats and routing the rest of the program does. Each verb has two shapes: --agent all (the default), and one named agent — the only shape that accepts --skills-dir, since an explicit directory belongs to one agent. The parser rejects the illegal mix, and --help shows both.