1 2 3 4 5 6 7 8 9 10 11 12
use ic_query_cli::run_from_env; // Run the IC query CLI and report errors in a shell-friendly form. fn main() { if let Err(err) = run_from_env() { if err.is_broken_pipe() { return; } eprintln!("{err}"); std::process::exit(err.exit_code()); } }