1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
pub mod argparse; #[cfg(test)] mod tests { use crate::argparse::command::Command; #[test] fn command(){ let command = Command::new("Leo Rust Demo") .author("Leo Development Team") .version("3.2.1") .about("一款用于命令行解析的高性能的Rust框架!") .get_matches(); } }