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

use clap::Parser;
use cli::Cli;

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