aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 2b88c44d1e924a908f80317400dc8a7f440778ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod audio;
mod cli;
mod config;
mod daemon;
mod database;
mod playback;
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);
    }
}