about summary refs log tree commit diff stats
path: root/pkgs/by-name/ts/tskm/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-04 16:07:34 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-04 16:07:34 +0200
commit2a9d37026a5b2599930c2d7338cdf04bf254812b (patch)
treea818c19634a05f500daaccf42e36205a28a52635 /pkgs/by-name/ts/tskm/src/cli.rs
parentfix(pkgs/tskm): Remove typos (diff)
downloadnixos-config-2a9d37026a5b2599930c2d7338cdf04bf254812b.zip
feat(pkgs/tskm): Support listing the open tabs in a project
Diffstat (limited to 'pkgs/by-name/ts/tskm/src/cli.rs')
-rw-r--r--pkgs/by-name/ts/tskm/src/cli.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/by-name/ts/tskm/src/cli.rs b/pkgs/by-name/ts/tskm/src/cli.rs
index 958033b3..bf0af7fb 100644
--- a/pkgs/by-name/ts/tskm/src/cli.rs
+++ b/pkgs/by-name/ts/tskm/src/cli.rs
@@ -88,6 +88,13 @@ pub enum OpenCommand {
     /// This will use rofi's dmenu mode to select one project from the list of all registered
     /// projects.
     Select,
+
+    /// List all open tabs in the project.
+    ListTabs {
+        /// The project to open.
+        #[arg(value_parser = task::Project::from_project_string)]
+        project: Option<task::Project>,
+    }
 }
 
 #[derive(Subcommand, Debug)]