advotracker: initial commit
* Cargo.toml * README.md * src/main.rs Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
12
src/main.rs
Normal file
12
src/main.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
#[macro_use]
|
||||
extern crate clap;
|
||||
use clap::App;
|
||||
|
||||
fn main() {
|
||||
println!("Parsing arguments ...");
|
||||
// handle commandline arguments with clap (relative path to cli.yml)
|
||||
let yaml = load_yaml!("cli.yml");
|
||||
let _matches = App::from_yaml(yaml).get_matches();
|
||||
|
||||
println!("Starting program logic ...");
|
||||
}
|
||||
Reference in New Issue
Block a user