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: the standard folders at one --scope (the default), and one explicit --skills-dir. A scope says nothing about an explicit directory, so the parser rejects the mix, and --help shows both.