cadre 0.5.3

Cadre is a simple, self-hosted, high-performance remote configuration service.
Documentation
use std::process::ExitCode;

use cadre::Args;
use clap::Parser;
use tracing::error;

/// Main entry point for the `cadre` binary.
#[tokio::main]
async fn main() -> ExitCode {
    tracing_subscriber::fmt::init();

    match Args::parse().run().await {
        Ok(()) => ExitCode::SUCCESS,
        Err(err) => {
            error!("{err:?}");
            ExitCode::FAILURE
        }
    }
}