aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/input/command.rs
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-07-06 23:37:53 +0200
committera-kenji <aks.kenji@protonmail.com>2021-07-06 23:42:05 +0200
commitaf86edcf99efafcae243b6e2cefaeeff3ead2b88 (patch)
tree507895c188e4f32dc2c002dbee2b0acacbaf605a /zellij-utils/src/input/command.rs
parentMerge pull request #598 from zellij-org/rm-feat-test (diff)
downloadsl0ppij-af86edcf99efafcae243b6e2cefaeeff3ead2b88.tar.gz
sl0ppij-af86edcf99efafcae243b6e2cefaeeff3ead2b88.tar.xz
sl0ppij-af86edcf99efafcae243b6e2cefaeeff3ead2b88.zip
Change name of `Run` binding for actions
* Change ``` Run: {command: <path>, args: [ARGS], direction:<direction> } ``` into ``` Run: {cmd: <path>, args: [ARGS], direction:<direction> } ```
Diffstat (limited to 'zellij-utils/src/input/command.rs')
-rw-r--r--zellij-utils/src/input/command.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/zellij-utils/src/input/command.rs b/zellij-utils/src/input/command.rs
index ca505ea2..b66c7500 100644
--- a/zellij-utils/src/input/command.rs
+++ b/zellij-utils/src/input/command.rs
@@ -19,6 +19,7 @@ pub struct RunCommand {
/// Intermediate representation
#[derive(Clone, Debug, Deserialize, Default, Serialize, PartialEq, Eq)]
pub struct RunCommandAction {
+ #[serde(rename = "cmd")]
pub command: PathBuf,
#[serde(default)]
pub args: Vec<String>,