aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 17:47:12 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 17:49:37 +0300
commit13cb5d9ae6aa314744ce5362b5d156182f06b503 (patch)
tree8153bf4ffd1035bdc8b3dff7753fe87f86ba44dd /src/main.rs
parentb7015f17a49501e99642009ebadabcbefc0fbad0 (diff)
feat: add shell completions
refs #435
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 8fd60ef6..97546e13 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -490,11 +490,13 @@ fn main() -> io::Result<()> {
println!(" herdr --session <name> [options]");
println!(" herdr --remote <ssh-target> [--session <name>]");
println!(" herdr session attach <name>");
+ println!(" herdr completion zsh");
println!(" herdr update [--handoff]");
println!(" herdr channel set <stable|preview>");
println!(" herdr server stop");
println!(" herdr server reload-config");
println!(" herdr api <subcommand> ...");
+ println!(" herdr completion <shell>");
println!(" herdr config <subcommand> ...");
println!(" herdr channel <subcommand> ...");
println!(" herdr workspace <subcommand> ...");
@@ -515,6 +517,7 @@ fn main() -> io::Result<()> {
"Show local client and running server status",
),
("herdr update", "Download and install the latest version"),
+ ("herdr completion zsh", "Generate shell completions for zsh"),
(
"herdr server stop",
"Stop the running server via the API socket",