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
+3 -2
View File
@@ -1,7 +1,8 @@
use std::io::Result;
use veil_rs::cli::Cli;
fn main() {
fn main() -> Result<()> {
let args: Cli = Cli::get_args();
println!("Hello, world!");
Ok(())
}