aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: fe450ddf6c5f5b45a248a8f9011577c03369d32e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
mod audio;
mod cli;
mod config;
mod daemon;
mod database;
mod notification;
mod playback;
mod queue;
mod scrobbler;

use clap::Parser;
use cli::Cli;
pub use rsp::debug_eprintln;

fn main() {
    let cli = Cli::parse();
    if let Err(e) = cli.run() {
        eprintln!("Error: {}", e);
        std::process::exit(1);
    }
}