generated from GarandPLG/rust-flake-template
Add subcommand support with colored help banner
Enable `clap` color feature, introduce subcommands (Sync, Add, Rm, Ls) and a custom before‑help banner, and update `main` to return a `Result`.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ opt-level = 3
|
||||
strip = true
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.6.1", features = ["derive"] }
|
||||
clap = { version = "4.6.1", features = ["derive", "color"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_yaml = "0.9.33"
|
||||
dirs = "6.0.0" # XDG paths cross-platform
|
||||
|
||||
Reference in New Issue
Block a user