use std::process::ExitCode;
use tidploy::commands;
use color_eyre::eyre::Report;
use tracing_error::ErrorLayer;
use tracing_subscriber::prelude::*;
fn install_tracing() {
let fmt_layer = tracing_subscriber::fmt::layer().with_target(false);
tracing_subscriber::registry()
.with(fmt_layer)
.with(ErrorLayer::default())
.init();
}
fn main() -> Result<ExitCode, Report> {
install_tracing();
color_eyre::install()?;
commands::run_cli()
}