adapto_cli 0.2.5

Adapto CLI — dev server, build, check, generate, project scaffolding
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use clap::Parser;

#[tokio::main]
async fn main() {
    let cli = adapto_cli::commands::Cli::parse();

    tracing_subscriber::fmt()
        .with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
        .init();

    if let Err(e) = adapto_cli::commands::run(cli).await {
        eprintln!("Error: {e}");
        std::process::exit(1);
    }
}