fix(cli): document root help and completion visibility

This commit is contained in:
Piotr Mlocek
2026-03-11 14:30:37 -07:00
parent e9d2dbad6b
commit def7aa63ec
+3 -1
View File
@@ -151,7 +151,9 @@ fn resolve_sandbox_name(name: Option<String>, gateway: &str) -> Result<String> {
Ok(last)
}
// Custom help template organized like `gh` CLI
// Custom root help stays hand-authored so commands can be grouped into product
// areas without relying on clap's default subcommand listing. User-facing
// commands remain visible so shell completion can suggest them at the root.
const HELP_TEMPLATE: &str = "\
{about-with-newline}
\x1b[1mUSAGE\x1b[0m