mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-28 17:19:31 +01:00
8 lines
351 B
Rust
8 lines
351 B
Rust
//! `anicraft-cli`: AniCraft without a window. See the library crate for the commands.
|
|
|
|
fn main() {
|
|
// `args_os`, not `args`: a non-Unicode argument must reach clap, not panic before anything is printed.
|
|
let code = anicraft_cli::run(std::env::args_os().skip(1), &mut std::io::stdout(), &mut std::io::stderr());
|
|
std::process::exit(code);
|
|
}
|