2015-10-18 13:58:17 +00:00
|
|
|
#[macro_use] extern crate clap;
|
|
|
|
|
|
|
|
use cli::Config;
|
2015-10-18 18:52:52 +00:00
|
|
|
use runtime::Runtime;
|
2015-10-25 18:47:17 +00:00
|
|
|
use clap::App;
|
2015-10-18 13:58:17 +00:00
|
|
|
|
|
|
|
mod cli;
|
2015-10-18 18:52:52 +00:00
|
|
|
mod runtime;
|
2015-10-24 15:46:01 +00:00
|
|
|
mod module;
|
2015-10-18 19:59:17 +00:00
|
|
|
mod storage;
|
2015-10-18 13:58:17 +00:00
|
|
|
|
|
|
|
fn main() {
|
2015-10-25 18:47:17 +00:00
|
|
|
let yaml = load_yaml!("../etc/cli.yml");
|
|
|
|
let app = App::from_yaml(yaml);
|
|
|
|
let mut config = Config::new(app);
|
2015-10-18 18:52:52 +00:00
|
|
|
|
|
|
|
let rt = Runtime::new(config);
|
|
|
|
|
2015-10-18 13:58:17 +00:00
|
|
|
println!("Hello, world!");
|
|
|
|
}
|