argv_lite_proc/lib.rs
1pub trait Choice: std::str::FromStr + std::fmt::Display {
2 fn name(&self) -> &'static str;
3 fn alt_name(&self) -> Option<&'static str>;
4 fn help(&self) -> &'static str;
5 fn usage() -> &'static str;
6}
7
8#[cfg(test)]
9mod tests {
10 use super::*;
11
12 #[test]
13 fn it_works() {
14 let result = 4;
15 assert_eq!(result, 4);
16 }
17}