summaryrefslogtreecommitdiff
path: root/vigilctl
diff options
context:
space:
mode:
authornamilsk <namilsk@namilsk.tech>2026-01-31 21:26:26 +0300
committernamilsk <namilsk@namilsk.tech>2026-01-31 21:26:26 +0300
commita5749a5d8d38b0db2ce5548473f8a61b674578a6 (patch)
treefe9227f4b40345a2730ce9373c740787e7ca5506 /vigilctl
parentb81a55bea1525b2fcf84591eb902926fb1d0cece (diff)
Started writing service-utils and adding docstrings
Diffstat (limited to 'vigilctl')
-rw-r--r--vigilctl/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/vigilctl/src/main.rs b/vigilctl/src/main.rs
index 08ff37c..9dd9dce 100644
--- a/vigilctl/src/main.rs
+++ b/vigilctl/src/main.rs
@@ -1,6 +1,6 @@
use clap::{Parser, Subcommand};
-#[derive(Subcommand, Clone,Debug)]
+#[derive(Subcommand, Clone, Debug)]
enum Command {
/// Check Service Status
Status { of: String },
@@ -15,7 +15,7 @@ enum Command {
Disable { service: String },
/// Power Management Commands
#[command(subcommand)]
- Power(PowerCommand)
+ Power(PowerCommand),
}
#[derive(Subcommand, Clone, Debug)]
enum PowerCommand {
@@ -24,7 +24,7 @@ enum PowerCommand {
/// Poweroff System
Poweroff,
/// Halt
- Halt
+ Halt,
}
#[derive(Parser)]
#[command(name = "vigilctl")]