From d074bb1cda819bd660b76b3be54b4db10d0eeed4 Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Fri, 14 Oct 2022 15:08:32 +0200 Subject: feat(layouts): global cwd (#1798) * feat(layouts): allow defining a global cwd * feat(layouts): allow passing global cwd from cli * style(fmt): rustfmt * fix(layouts): error on mixed cwd and pane children --- zellij-utils/src/cli.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zellij-utils/src/cli.rs') diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs index bef1afb33..ae0c2141c 100644 --- a/zellij-utils/src/cli.rs +++ b/zellij-utils/src/cli.rs @@ -253,5 +253,7 @@ pub enum CliAction { layout: Option, #[clap(short, long, value_parser)] name: Option, + #[clap(short, long, value_parser, requires("layout"))] + cwd: Option, }, } -- cgit v1.2.3