feat: add command to list pomodoro

This commit is contained in:
Moritz Böhme 2023-07-29 16:02:42 +02:00
parent 98acf3c74e
commit 61b7bd447d
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
3 changed files with 7 additions and 1 deletions

View file

@ -76,6 +76,9 @@ pub enum PomodoroCommand {
/// Stop the pomodoro
#[clap(visible_alias="p")]
Remove,
/// List the pomodoro settings and remaining duration
#[clap(visible_alias="l")]
List,
}
fn get_stream(socket_path: &String) -> Result<UnixStream> {