extern crate alloc;
#[allow(unused_imports, dead_code, clippy::all)]
pub mod builder_types;
#[cfg(feature = "fm_atradio")]
#[allow(unused_imports, dead_code, clippy::all)]
pub mod fm_atradio;
mod appview;
mod atproto;
mod cli;
mod config;
#[cfg(target_os = "linux")]
mod mpris;
mod player;
mod radio;
#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
mod rcd;
mod remote;
mod settings;
#[cfg(target_os = "linux")]
mod systemd;
mod theme;
mod tui;
use clap::Parser;
#[tokio::main]
async fn main() {
let args = cli::Cli::parse();
if let Err(err) = cli::run(args).await {
eprintln!("\x1b[31merror:\x1b[0m {err:#}");
std::process::exit(1);
}
}