use clap::{Parser, Subcommand}; /// Simple bookmarks manager written in Rust #[derive(Debug, Parser)] #[command(version, about, long_about = None)] pub struct Cli { #[command(subcommand)] pub command: Command, } #[derive(Debug, Subcommand)] pub enum Command { /// Start the web server to serve the bookmarks page #[command(name = "serv")] Serv, }