config: move command schema into schema crate
This commit is contained in:
parent
81a1a865a1
commit
f0e7bd31cb
3 changed files with 19 additions and 17 deletions
15
jay-config-schema/src/command.rs
Normal file
15
jay-config-schema/src/command.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use jay_config::status::MessageFormat;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Exec {
|
||||
pub prog: String,
|
||||
pub args: Vec<String>,
|
||||
pub envs: Vec<(String, String)>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Status {
|
||||
pub format: MessageFormat,
|
||||
pub exec: Exec,
|
||||
pub separator: Option<String>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue