git-iris 2.0.9

AI-powered Git workflow assistant for smart commits, code reviews, changelogs, and release notes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use anyhow::Result;
use git_iris::{cli, crypto};

/// Main entry point for the application
#[tokio::main]
async fn main() -> Result<()> {
    crypto::install_default_crypto_provider();

    // Logger init is deferred to cli::main() so --log flag can raise the tracing level
    match cli::main().await {
        Ok(()) => Ok(()),
        Err(e) => {
            eprintln!("Error: {e}");
            std::process::exit(1);
        }
    }
}