toko-feed-cli 0.3.3

Operator CLI for Toko Feed canister ingestion and catalog queries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Process entry point for the installed `toko-feed` operator CLI.

use toko_feed_cli::run_from_env;

// Run the operator CLI and report failures with stable shell exit semantics.
fn main() {
    if let Err(error) = run_from_env() {
        if error.is_broken_pipe() {
            return;
        }
        eprintln!("{error}");
        std::process::exit(error.exit_code());
    }
}