klask 1.0.0

Automatically create GUI for clap apps
Documentation
1
2
3
4
5
6
7
8
9
use clap::{App, Arg};
use klask::Settings;

fn main() {
    let app = App::new("Example").arg(Arg::new("debug").short('d'));
    klask::run_app(app, Settings::default(), |matches| {
        println!("{}", matches.is_present("debug"))
    });
}