{"record":{"id":"48e77b03dda9bfe1","repo":"pbakaus/impeccable","slug":"run-impeccable-help-for-available-commands-48e77b","errorCode":null,"errorMessage":"Run 'impeccable --help' for available commands.\n","messagePattern":"Run 'impeccable --help' for available commands\\.\n","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"crates/skills/src/commands.rs","lineNumber":60,"sourceCode":"\npub fn run(args: &[String], io: &mut Io) -> R<()> {\n    let sub = args.first().map(String::as_str).unwrap_or(\"\");\n    let rest: Vec<String> = args.iter().skip(1).cloned().collect();\n    if let Some(help) = subcommand_help(sub) {\n        if rest.iter().any(|a| a == \"--help\" || a == \"-h\") {\n            out(io, help);\n            return Ok(());\n        }\n    }\n    match sub {\n        \"\" | \"help\" | \"--help\" | \"-h\" => show_help(io),\n        \"install\" => install(&rest, io),\n        \"link\" => link(&rest, io),\n        \"update\" => update(&rest, io),\n        \"check\" => check(io),\n        other => {\n            io.err(&format!(\"Unknown skills command: {other}\\n\"));\n            io.err(\"Run 'impeccable --help' for available commands.\\n\");\n            Err(Flow::Exit(1))\n        }\n    }\n}\n\nfn ctx(io: &Io) -> (Sys, Prompt) {\n    let sys = Sys::new(io.env.clone(), io.cwd.to_string_lossy().into_owned());\n    let prompt = Prompt::new(io);\n    (sys, prompt)\n}\n\nfn has_flag(flags: &[String], name: &str) -> bool {\n    flags.iter().any(|f| f == name)\n}\n\nfn out(io: &mut Io, line: &str) {\n    io.out(&format!(\"{line}\\n\"));\n}","sourceCodeStart":42,"sourceCodeEnd":78,"githubUrl":"https://github.com/pbakaus/impeccable/blob/2bc2879276c1f321a53c4ca99d3371e411329b52/crates/skills/src/commands.rs#L42-L78","documentation":"Catch-all arm of the skills subcommand dispatcher in run: the first positional argument matched no known subcommand (install, link, update, check, help). It is printed right after the 'Unknown skills command' line as a hint pointing at the top-level help.","triggerScenarios":"Emitted together with the unknown-command message whenever the skills dispatcher's catch-all arm runs.","commonSituations":"Same as the unknown-command error: typos, remembered-but-nonexistent verbs, renamed subcommands.","solutions":["Run `impeccable --help` as the message suggests.","Use one of the supported verbs: install, link, update, check, help."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":["Consult `impeccable --help` when unsure of a subcommand name."],"tags":["cli","usage-hint","skills"],"backgroundTag":"command-not-found","analyzedSha":"2bc2879276c1f321a53c4ca99d3371e411329b52","analyzedAt":"2026-09-08T04:51:14.109Z","contentChangedAt":"2026-09-08T04:51:14.109Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}