aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2024-01-04 23:22:47 -0500
committerLibravatar Silas Bartha <[email protected]>2024-01-04 23:22:47 -0500
commit20d3f4c6c2a586a513217c096be030b476ebdd00 (patch)
tree6073e6fcea6cfa4e1c5ad8338e82f553039fd610 /src
parent22f4626a32dc800b9cec60f1c1c21fa39cf41168 (diff)
Improved Help Docs & Added Metadata
Diffstat (limited to 'src')
-rw-r--r--src/main.rs10
1 files changed, 9 insertions, 1 deletions
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,
}