From 20d3f4c6c2a586a513217c096be030b476ebdd00 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Thu, 4 Jan 2024 23:22:47 -0500 Subject: Improved Help Docs & Added Metadata --- src/main.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index f9b5653..eff799c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use std::{error::Error, time::Duration}; +use std::time::Duration; use clap::{Parser, Subcommand}; use zbus::{Connection, fdo}; @@ -12,13 +12,21 @@ struct Pomc { #[derive(Debug, Subcommand)] enum Command { + /// Start the pomodoro timer Start, + /// Pause the pomodoro timer Pause, + /// Stop the pomodoro timer Stop, + /// Skip the current timer Skip, + /// Retrieve the current iteration of the pomodoro GetIteration, + /// Get remaining timer duration (MM:SS) GetRemaining, + /// Get whether the timer is running IsRunning, + /// Get whether the current timer is a break IsOnBreak, } -- cgit v1.2.3