summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/cli.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2023-08-25 12:24:43 +0200
committerGitHub <noreply@github.com>2023-08-25 12:24:43 +0200
commitb44ba85895b4db3a67a0f5c329c62fe120079ff0 (patch)
treeff34fb572a4ca5e0ff71fc0db9bacb9ef3c56093 /zellij-utils/src/cli.rs
parent877c467f9f757ca560d77ceef83456c9a50f4917 (diff)
feat(plugins): optionally move plugin to focused tab (#2725)
* feat(plugins): move_to_focused_tab attribute for LaunchOrFocusPlugin * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r--zellij-utils/src/cli.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs
index fd2bdcda7..957a13c1a 100644
--- a/zellij-utils/src/cli.rs
+++ b/zellij-utils/src/cli.rs
@@ -384,6 +384,8 @@ pub enum CliAction {
LaunchOrFocusPlugin {
#[clap(short, long, value_parser)]
floating: bool,
+ #[clap(short, long, value_parser)]
+ move_to_focused_tab: bool,
url: Url,
#[clap(short, long, value_parser)]
configuration: Option<PluginUserConfiguration>,