mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
13 lines
538 B
Rust
13 lines
538 B
Rust
//! `raea make motion` without the rest of the CLI, for working on this crate while the workspace's other crates are mid-change:
|
|
//! `lane build -- cargo run --release -p raea-app-motion --example motion -- "LINE" --seeds 4 -o CLIP.json`
|
|
fn main() {
|
|
let args: Vec<String> = std::iter::once("motion".to_string()).chain(std::env::args().skip(1)).collect();
|
|
match raea_app_motion::motion(&args) {
|
|
Ok(s) => println!("{s}"),
|
|
Err(e) => {
|
|
eprintln!("{e}");
|
|
std::process::exit(1)
|
|
}
|
|
}
|
|
}
|