mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-27 14:34:32 +03:00
0b6001305b
* feat: add capability to dispatch actions from cli Add capability to dispatch actions from the cli. Can be invoked through `zellij action [actions]` Automatically sends the action either to the current session, or if there is only one session to the single session. If there are multiple sessions, and no session is specified it will error out. Example: 1. ``` zellij action "[NewTab: , NewTab: ]" ``` 2. ``` zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]' ``` 3. ``` zellij -s fluffy-cat action '[ CloseTab, ] ``` * add: error message on malformed input Add an error message on malformed input, for the `action`'s dispatch. Rather than resulting in a panic. * add: function to query the client id * add: send specific actions to certain clients Adds ability to send actions, that don't impact the server state to all connected clients. For example `MoveFocus` * add: client_id to non blocking actions * chore(fmt): `cargo fmt` * add: pick correct session, if there is exactly one * add: use correct `client_id` for detach action * add: make `[ ]` opaque to the user * add: miette to toplevel to improve error message * add: fake client reading configuration Add the fake client reading configuration files, this allows actions, that rely on configuration work correctly. This is an intermediate solution, and should ideally not be needed. It would be better if most of this state would be handled by the server itself. * chore(fmt): rustmt * add: ability to detach multiple clients Add ability to detach multiple clients at the same time. * remove: obsolete functionality * remove: unused functionality * add: send correct action upon exiting * chore(update): cargo update
71 lines
2.3 KiB
TOML
71 lines
2.3 KiB
TOML
[package]
|
|
name = "zellij"
|
|
version = "0.31.0"
|
|
authors = ["Aram Drevekenin <aram@poor.dev>"]
|
|
edition = "2021"
|
|
description = "A terminal workspace with batteries included"
|
|
license = "MIT"
|
|
repository = "https://github.com/zellij-org/zellij"
|
|
homepage = "https://zellij.dev"
|
|
include = ["src/**/*", "assets/plugins/*", "assets/layouts/*", "assets/config/*", "LICENSE.md", "README.md", "!**/*_test.*", "!**/tests/**/*"]
|
|
rust-version = "1.59"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
names = { version = "0.13.0", default-features = false }
|
|
miette = { version = "3.3.0", features = ["fancy"] }
|
|
zellij-client = { path = "zellij-client/", version = "0.31.0" }
|
|
zellij-server = { path = "zellij-server/", version = "0.31.0" }
|
|
zellij-utils = { path = "zellij-utils/", version = "0.31.0" }
|
|
log = "0.4.17"
|
|
dialoguer = "0.10.1"
|
|
suggest = "0.4"
|
|
|
|
[dev-dependencies]
|
|
insta = { version = "1.6.0", features = ["backtrace"] }
|
|
ssh2 = "0.9.1"
|
|
rand = "0.8.0"
|
|
|
|
[workspace]
|
|
members = [
|
|
"zellij-client",
|
|
"zellij-server",
|
|
"zellij-utils",
|
|
"zellij-tile",
|
|
"zellij-tile-utils",
|
|
"default-plugins/compact-bar",
|
|
"default-plugins/status-bar",
|
|
"default-plugins/strider",
|
|
"default-plugins/tab-bar",
|
|
".",
|
|
]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
strip = true
|
|
|
|
[package.metadata.deb]
|
|
depends = "$auto"
|
|
license-file = ["LICENSE.md", "4"]
|
|
assets = [
|
|
["assets/man/zellij.1", "usr/share/man/man1/zellij.1", "644"],
|
|
["target/release/zellij", "usr/bin/zellij", "755"],
|
|
["GOVERNANCE.md", "usr/share/doc/zellij/GOVERNANCE.md", "644"],
|
|
["README.md", "usr/share/doc/zellij/README.md", "644"],
|
|
["assets/layouts/*", "usr/share/zellij/layouts/", "644"],
|
|
["assets/plugins/*", "usr/share/zellij/plugins/", "644"],
|
|
["assets/completions/zellij.bash", "usr/share/bash-completion/completions/zellij.bash", "644"],
|
|
["assets/completions/zellij.fish", "usr/share/fish/vendor_completions.d/zellij.fish", "644"],
|
|
["assets/completions/_zellij", "usr/share/zsh/vendor-completions/_zellij", "644"],
|
|
]
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz"
|
|
bin-dir = "{ bin }{ binary-ext }"
|
|
pkg-fmt = "tgz"
|
|
|
|
[features]
|
|
disable_automatic_asset_installation = [ "zellij-utils/disable_automatic_asset_installation" ]
|