Simple command line arguments parser for Rust.
Add dependency to Cargo.toml
toml
[dependencies]
ecla = "0.1.0"
In your main.rs
:
```rust extern crate ecla;
use ecla::App;
const HELP: &'static str = "This is help message"; const VERSION: &'static str = "1.0.0";
fn main() { let app = App::new(HELP, VERSION); app.show_help(); } ```
For more usage, see the examples folder
ecla is primarily distributed under the terms of the MIT license. See LICENSE for details.