diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-19 23:52:20 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-19 23:56:07 +0300 |
| commit | 3f80947678a9723434aa7fddfe23750b5393e24c (patch) | |
| tree | 6f463797132acfc51dfb6e135820a052954b4f13 /src/main.rs | |
| parent | f76f895efe5b9f19aa9db909354c6c0f2195630b (diff) | |
feat: make agent automation a first-class cli primitive
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs index 42ec3d01..a73423bf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -554,7 +554,6 @@ fn main() -> io::Result<()> { println!(" herdr notification <subcommand> ..."); println!(" herdr agent <subcommand> ..."); println!(" herdr pane <subcommand> ..."); - println!(" herdr wait <subcommand> ..."); println!(" herdr session <subcommand> ..."); println!(" herdr integration <subcommand> ..."); println!(); @@ -613,10 +612,6 @@ fn main() -> io::Result<()> { "Pane control helpers over the socket API", ), ( - "herdr wait <subcommand>", - "Blocking wait helpers over the socket API", - ), - ( "herdr session <subcommand>", "Manage named persistent sessions", ), @@ -676,7 +671,7 @@ fn main() -> io::Result<()> { if arg.starts_with('-') && !known_flags.contains(&arg_name) { eprintln!("unknown option: {arg}"); eprintln!("run 'herdr --help' for usage"); - std::process::exit(1); + std::process::exit(2); } if !arg.starts_with('-') && ![ @@ -690,7 +685,6 @@ fn main() -> io::Result<()> { "workspace", "worktree", "pane", - "wait", "session", "integration", ] @@ -698,7 +692,7 @@ fn main() -> io::Result<()> { { eprintln!("unknown command: {arg}"); eprintln!("run 'herdr --help' for usage"); - std::process::exit(1); + std::process::exit(2); } } |
