You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Igloo/src/main.rs

33 lines
561 B
Rust

#![allow(warnings)]
extern crate clap;
extern crate config;
mod igloo;
mod igloo_action;
mod igloo_prj;
mod igloo_manifest;
use clap::{crate_version, crate_description, crate_authors, App, Arg, AppSettings, ArgMatches};
use config::*;
use std::collections::HashMap;
use std::path::{Path, PathBuf};
fn main()
{
let ig = igloo::Igloo::new();
let start_ret = match ig.start()
{
Ok(it) =>
{
match ig.run(it)
{
Ok(rt) => println!("{:?}", rt),
Err(e) => println!("Run Error: {:?}", e),
}
}
Err(e) => println!("Error: {:?}", e),
};
}