endless pomodoros (wayland + gtk4/relm4 + rust)
1use argh::FromArgs;
2
3use crate::config::*;
4
5
6#[derive(FromArgs)]
7/// endless pomodoros (pomodoroes? pomodori?)
8pub struct WaypomoArgs {
9 /// path to configuration file
10 #[argh(option, short = 'c')]
11 pub config: Option<String>,
12
13 /// mode to start in (overrides config file)
14 #[argh(option, short = 's')]
15 pub start_in: Option<StartIn>,
16
17 #[argh(positional, greedy)]
18 pub rest: Vec<String>,
19}