just/src/subcommand.rs

24 lines
345 B
Rust
Raw Normal View History

use crate::common::*;
#[derive(PartialEq, Clone, Debug)]
pub(crate) enum Subcommand {
Completions {
shell: String,
},
2019-10-07 04:04:39 -07:00
Dump,
Edit,
Evaluate {
overrides: BTreeMap<String, String>,
},
Init,
List,
Run {
overrides: BTreeMap<String, String>,
arguments: Vec<String>,
},
Show {
name: String,
},
Summary,
2019-10-07 04:04:39 -07:00
}