use clap::Parser; #[derive(Parser, Debug)] pub struct CommandsStore { /// 指定静态库名称 #[clap(short, long)] name: Option, } pub fn run(_config: CommandsStore) -> Result<(), std::io::Error> { Ok(()) }