The simple, dependency-less cli library ✨
```rust use climake::{Argument, CLIMake, DataType};
fn main() { let args = &[ Argument::new( &['o'], &["output", "out"], Some("Example output arg"), DataType::Files, ).unwrap(), Argument::new( &['a', 'b', 'c'], &[], Some("Alphabet!"), DataType::None, ).unwrap(), ];
let cli = CLIMake::new(args, Some("A showcase CLI to demonstrate climake"), None).unwrap();
println!("Args used:\n{:#?}", cli.parse());
} ```
Simply add the following to your Cargo.toml
file:
toml
[dependencies]
climake = "2.1"
Duel-licensed under both the MIT License (LICENSE-MIT
) and Apache 2.0 License (LICENSE-APACHE
), you may choose at your discretion.