aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/cli.rs (follow)
Commit message (Collapse)AuthorAge
...
* feat: Shows subcommand aliases in help text (#918) (#1409)Luke Stadem2022-05-10
|
* fix: a small typo (#1390)a-kenji2022-05-10
|
* fix(config): allow POSIX style `--config` override (#1205)a-kenji2022-03-10
| | | | | | | Allow multiple `--config` flags, then use the latter. Also allows similar behaviour for similar flags. fixes: #310
* chore(deps): update arg parsing to clap v3 (#1017)Marcin Puc2022-01-23
| | | | * Update arg parsing to clap v3 * Ignore shell argument case
* add(feature): toggle boolean options with cli flag (#855)a-kenji2021-11-10
| | | | | | | | add the ability to toggle boolean options with a cli flag: example: if the pane frames are turned off in the config file, then passing in the `--no-pane-frames` flag will toggle the pane frames on
* feat(attach): Support `--index` option to choose specific session by ↵Ken Matsui2021-11-06
| | | | | | | | | | | | | | | | provided number in active sessions ordered by creation date, resolve #823 feat(attach): Support `--first` option for `attach` sub-command to let zellij choose the alphabetically first session; resolve #823 fix(attach-first): Fix `--first` option to choose the first created session in the existent sessions feat(attach): Support `--index` option to choose the session indexed by provided number like -t option of tmux feat(attach): Support listing active sessions with index when a provided number is not found in the active sessions feat(attach): Support listing active sessions with index when a provided number is not found in the active sessions feat: Add anyhow to uniformly treat error types and avoid panics
* feat(cli): add `kill-session` command (#745)Jae-Heon Ji2021-10-11
| | | | | | | | | | | | | | | | | | | | | | * feat: add kill-session command * style: apply formatting rules * feat: add new instruction for kill-session * feat: update feedback of kill-session * separation of command `kill-session` and `kill-all-sessions` function. * Add information to various situations * Add a question (yes or no) when executing the `kill-all-sessions` command. * chore: adjust clippy warning * fix warning wording * make rustfmt happy Co-authored-by: Aram Drevekenin <aram@poor.dev>
* feat(sessions): mirrored sessions (#740)Aram Drevekenin2021-09-27
| | | | | | | | | | | | | | | | | * feat(sessions): mirrored sessions * fix(tests): input units * style(fmt): make rustfmt happy * fix(tests): make mirrored sessions e2e test more robust * refactor(sessions): remove force attach * style(fmt): rustfmtify * docs(changelog): update change * fix(e2e): retry on all errors
* Implement `attach --create` subcommand flag to create session if one does ↵GPery2021-09-19
| | | | | | | | | | | | | not exist (#731) * Implement attach --create * fixup! Implement attach --create * fixup! Implement attach --create * fixup! Implement attach --create * fixup! Implement attach --create
* Add `options` subcommand to `attach` (#718)a-kenji2021-09-13
| | | | | | | | | | | | | | | | | | | fixes #688 - the `options` subcommand of `attach` functions the same, as the `options` subcommand of creating the normal session, but not every option will have an effect on reattaching, for example the `default_mode` setting would make no sense to switch. In the future it would make sense to be able to hot swap some of the options on reattach, but we are not able to do that yet, for example the `default_shell` one. Eg: ``` zellij attach <session-name> options --theme <theme> ```
* Make session-name option in attach commandKunal Mohan2021-05-29
| | | | | If only one session is running, attach to it. Otherwise list the active sessions (if any)
* Allow user to specify session nameKunal Mohan2021-05-22
|
* add attach and list sessions subcommand to CliArgsKunal Mohan2021-05-22
|
* Change Description of Config Flagsa-kenji2021-05-22
| | | | | * Make distinction clearer between certain flags
* Merge branch 'main' of https://github.com/zellij-org/zellij into layout-path-506a-kenji2021-05-18
|
* Big refactor: separate crates for client, server and utilitiesKunal Mohan2021-05-16