aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 0701c7e8f70e057aba8e49d6169095e14541e5f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use clap::Parser;
use serde::{Serialize,Deserialize};

#[derive(Parser)]
struct Cli {
    #[arg(short='d', long)]
    daemon: bool,
    #[arg(short='v', long)]
    verbose: bool,
}

#[derive(Serialize, Deserialize)]
struct State {
}

fn main() {
    let args = Cli::parse();
    if args.daemon {
    } else {
    }
}