{"record":{"id":"2c72e2d0f93bf681","repo":"pbakaus/impeccable","slug":"unknown-command-other-to-see-a-list-of-suppo","errorCode":null,"errorMessage":"Unknown command: \"{other}\"\n\nTo see a list of supported commands, run:\n  impeccable --help\n","messagePattern":"Unknown command: \"(.+?)\"\n\nTo see a list of supported commands, run:\n  impeccable --help\n","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/cli/src/main.rs","lineNumber":101,"sourceCode":"                    .collect()\n            };\n            impeccable_comp_verbs::run_build_phase(rest, io, &organic)\n        }\n        \"hook\" => impeccable_hook::run_hook(rest, io, engines().html),\n        \"hook-before-edit\" => impeccable_hook::run_hook_before_edit(rest, io, engines().html),\n        \"hooks\" | \"hook-admin\" => impeccable_hook::run_hook_admin(rest, io),\n        v if v.starts_with(\"live\") => impeccable_live::run(v, rest, io),\n        // `npx impeccable src/` shorthand: a path-shaped, flag, URL, or existing\n        // first arg is a detect target (cli.js looksLikeDetectTarget).\n        v if impeccable_detect::looks_like_detect_target(v, &io.cwd.to_string_lossy()) => {\n            impeccable_detect::run_detect(args, io, &engines())\n        }\n        \"init\" => {\n            io.err(impeccable_detect::INIT_MESSAGE);\n            1\n        }\n        other => {\n            io.err(&format!(\n                \"Unknown command: \\\"{other}\\\"\\n\\nTo see a list of supported commands, run:\\n  impeccable --help\\n\"\n            ));\n            1\n        }\n    }\n}\n\n/// The npm `impeccable` package version `cli.js --version` prints (its\n/// `package.json`), tracked separately from the crate version.\npub const CLI_VERSION: &str = \"4.0.0\";\n\n/// The engines wired into `impeccable detect`: the static HTML engine\n/// (crates/html). The browser engine (crates/browser) plugs in here once it\n/// lands; until then URL scans report the puppeteer message.\nfn engines() -> impeccable_detect::Engines<'static> {\n    static HTML: impeccable_html::StaticHtmlEngine = impeccable_html::StaticHtmlEngine {\n        // The shipped binary carries the built-in rules only.\n        static_rule_pack: None,","sourceCodeStart":83,"sourceCodeEnd":119,"githubUrl":"https://github.com/pbakaus/impeccable/blob/2bc2879276c1f321a53c4ca99d3371e411329b52/crates/cli/src/main.rs#L83-L119","documentation":"The CLI's catch-all match arm in run() rejects any first argument that is not a recognized command or a detect target. It prints 'Unknown command: \"{other}\"' plus a pointer to `impeccable --help` and exits with code 1.","triggerScenarios":"Calling `impeccable <anything>` where the first arg is neither a known command, a path/flag/URL-shaped detect target (per impeccable_detect::looks_like_detect_target), nor an existing file.","commonSituations":"Typos in subcommand names (e.g. `impeccable scna`); invoking verbs that only exist as agent-chat skill verbs (`init`, `build-phase` variants) from the terminal; outdated CLI version missing a newer subcommand.","solutions":["Run `impeccable --help` to list supported terminal commands","Check the spelling of the subcommand","Confirm the command is a CLI verb and not an agent-chat skill verb; skill verbs like `init` run inside your AI coding agent","Update to the latest CLI version if the subcommand is newer than your install"],"exampleFix":"// before\n$ impeccable buld-phase status\n// after\n$ impeccable build-phase status","handlingStrategy":"validation","validationCode":"impeccable --help | grep -q \"^  $cmd\\b\" || echo \"unknown command: $cmd\"","typeGuard":null,"tryCatchPattern":"out=$(impeccable \"$cmd\" 2>&1) || { case \"$out\" in \"Unknown command\"*) impeccable --help;; esac; }","preventionTips":["Run impeccable --help before trying an unfamiliar subcommand","Verify the verb is a CLI command, not an agent-only skill verb","Keep the CLI updated so newer subcommands exist"],"tags":["cli","usage","unknown-command"],"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"}