cargo-shell 0.1.1

Simple command shell for cargo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern crate shell;
extern crate env_logger;
#[macro_use] extern crate error_chain;

use std::io::{self, Write};
use std::process;
use std::error::Error as StdError;

fn main() {
    env_logger::init().unwrap();
    if let Err(e) = shell::main() {
        let _ = writeln!(&mut io::stderr(), "{}", e.description());
        process::exit(1);
    }
}