pub use clap::Parser; #[derive(Debug, Parser)] #[clap( about = "a cross-shell customizable powerline-like prompt with icons", name = "silver", after_help = "https://github.com/reujab/silver/wiki" )] pub struct Silver { #[clap(short, long)] pub config: Option, #[clap(subcommand)] pub cmd: Command, } #[derive(Debug, Parser)] pub enum Command { Init, Lprint, Rprint, }