13 lines
326 B
Rust
13 lines
326 B
Rust
//! The world box command. All network operations use standard wasi:http.
|
|
use clap::Parser;
|
|
fn main() {
|
|
let code = match box_cli::cli::run(box_cli::cli::Args::parse()) {
|
|
Ok(code) => code,
|
|
Err(error) => {
|
|
eprintln!("box: {error}");
|
|
1
|
|
}
|
|
};
|
|
std::process::exit(code);
|
|
}
|