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

27 lines
465 B
Rust

extern crate clap;
4 years ago
extern crate config;
mod igloo;
use clap::{crate_version, crate_description, crate_authors, App, Arg, AppSettings, ArgMatches};
4 years ago
use config::*;
use std::collections::HashMap;
use std::path::{Path, PathBuf};
4 years ago
fn main()
{
4 years ago
let ig = igloo::Igloo::New();
match ig.start()
{
Ok(it) =>
{
match ig.run(it)
{
Ok(s) => println!("{}", s),
Err(e) => println!("Run Error: {:?}", e),
}
}
Err(e) => println!("Error: {:?}", e),
4 years ago
}
4 years ago
}