aboutsummaryrefslogtreecommitdiff
path: root/src/cli.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/cli.rs
parentb7015f17a49501e99642009ebadabcbefc0fbad0 (diff)
feat: add shell completions
refs #435
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 64c25596..70420b09 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -10,11 +10,13 @@ use crate::api::schema::{
mod agent;
mod api;
+mod completion;
mod integration;
mod notification;
mod pane;
mod plugin;
mod server;
+mod spec;
mod status;
mod tab;
mod workspace;
@@ -57,6 +59,7 @@ pub fn maybe_run(args: &[String]) -> std::io::Result<CommandOutcome> {
}
"api" => api::run_api_command(&args[2..])?,
"status" => status::run_status_command(&args[2..])?,
+ "completion" | "completions" => completion::run_completion_command(&args[2..])?,
"config" => run_config_command(&args[2..])?,
"channel" => run_channel_command(&args[2..])?,
"workspace" => workspace::run_workspace_command(&args[2..])?,