summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r--zellij-utils/src/cli.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs
index 82c34eecd..1ef43e27f 100644
--- a/zellij-utils/src/cli.rs
+++ b/zellij-utils/src/cli.rs
@@ -315,6 +315,13 @@ pub enum CliAction {
CloseTab,
/// Go to tab with index [index]
GoToTab { index: u32 },
+ /// Go to tab with name [name]
+ GoToTabName {
+ name: String,
+ /// Create a tab if one does not exist.
+ #[clap(short, long, value_parser)]
+ create: bool,
+ },
/// Renames the focused pane
RenameTab { name: String },
/// Remove a previously set tab name