talea-client 0.1.1

Typed client SDK and the talea CLI for the talea ledger server: retry-safe operations and auto-resuming event subscriptions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Parser;

#[tokio::main]
async fn main() {
    let cli = talea_client::cli::Cli::parse();
    if let Err(e) = talea_client::cli::run(cli).await {
        eprintln!(
            "{}",
            serde_json::to_string(&e).unwrap_or_else(|_| format!("{e:?}"))
        );
        std::process::exit(1);
    }
}