diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-04-12 15:39:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-12 15:39:36 +0200 |
| commit | e68bc649d63d51178d224be3af7109ca324480f4 (patch) | |
| tree | a3993ee2833b7b5ac952a35617c7037132571b71 /zellij-utils/src/cli.rs | |
| parent | docs(readme): update roadmap and remove extraneous section (#3252) (diff) | |
| download | sl0ppij-e68bc649d63d51178d224be3af7109ca324480f4.tar.gz sl0ppij-e68bc649d63d51178d224be3af7109ca324480f4.tar.xz sl0ppij-e68bc649d63d51178d224be3af7109ca324480f4.zip | |
feat(cli): allow starting a session detached (#3257)
* feat(cli): allow starting a session detached
* fix tests
Diffstat (limited to 'zellij-utils/src/cli.rs')
| -rw-r--r-- | zellij-utils/src/cli.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs index 0388e599..ba189843 100644 --- a/zellij-utils/src/cli.rs +++ b/zellij-utils/src/cli.rs @@ -125,6 +125,10 @@ pub enum Sessions { #[clap(short, long, value_parser)] create: bool, + /// Create a detached session in the background if one does not exist + #[clap(short, long, value_parser)] + background: bool, + /// Number of the session index in the active sessions ordered creation date. #[clap(long, value_parser)] index: Option<usize>, |
