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:
2026-06-03 16:35:31 +02:00
parent f9bebfc938
commit c78ce27dba
3 changed files with 40 additions and 5 deletions
+1 -1
View File
@@ -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