pub enum Command {
Run {
experiment_path: PathBuf,
seed_override: Option<u64>,
verbose: bool,
},
Render {
domain: String,
format: RenderFormat,
output: PathBuf,
fps: u32,
duration: f64,
seed: u64,
},
Validate {
experiment_path: PathBuf,
},
Verify {
experiment_path: PathBuf,
runs: usize,
},
EmcCheck {
experiment_path: PathBuf,
},
EmcValidate {
emc_path: PathBuf,
},
ListEmc,
Help,
Version,
Error(String),
}Expand description
Available CLI commands.
Variants§
Run
Run an experiment
Fields
Render
Render simulation to SVG + keyframes
Fields
§
format: RenderFormatOutput format: svg-frames or svg-keyframes.
Validate
Validate experiment YAML against EDD v2 schema
Verify
Verify reproducibility of an experiment
Fields
EmcCheck
Check EMC compliance
EmcValidate
Validate an EMC YAML file against EDD v2 EMC schema
ListEmc
List available EMCs in the library
Help
Show help
Version
Show version
Error(String)
Parse error (missing args, unknown command)
Trait Implementations§
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more