Change name of Run binding for actions
* Change
```
Run: {command: <path>, args: [ARGS], direction:<direction> }
```
into
```
Run: {cmd: <path>, args: [ARGS], direction:<direction> }
```
This commit is contained in:
parent
eb7f0773c5
commit
af86edcf99
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ pub struct RunCommand {
|
||||||
/// Intermediate representation
|
/// Intermediate representation
|
||||||
#[derive(Clone, Debug, Deserialize, Default, Serialize, PartialEq, Eq)]
|
#[derive(Clone, Debug, Deserialize, Default, Serialize, PartialEq, Eq)]
|
||||||
pub struct RunCommandAction {
|
pub struct RunCommandAction {
|
||||||
|
#[serde(rename = "cmd")]
|
||||||
pub command: PathBuf,
|
pub command: PathBuf,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub args: Vec<String>,
|
pub args: Vec<String>,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue