~cyplo/bakare

bakare/src/main.rs -rw-r--r-- 359 bytes
2c3fb1b1 — Cyryl Płotnicki Update cargo dependencies 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
use seahorse::App;
use std::env;

fn main() {
    let args: Vec<String> = env::args().collect();
    let app = App::new(env!("CARGO_PKG_NAME"))
        .description(env!("CARGO_PKG_DESCRIPTION"))
        .author(env!("CARGO_PKG_AUTHORS"))
        .version(env!("CARGO_PKG_VERSION"))
        .action(|c| println!("Hello, {:?}", c.args));

    app.run(args);
}