zad-cli 0.7.2

Command-line interface for zad — connects AI agents to external services (Discord, Slack, Google Calendar, Spotify, Telegram, YouTube Music, 1Password) via scoped service configurations.
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::process::ExitCode;

#[tokio::main]
async fn main() -> ExitCode {
    match zad_cli::cli::run().await {
        Ok(()) if zad_cli::cli::echo::was_echoed() => ExitCode::from(3),
        Ok(()) => ExitCode::SUCCESS,
        Err(e) => {
            zad_cli::output::error(&e.to_string());
            ExitCode::from(1)
        }
    }
}