cargo-x 0.2.1

A very simple third-party cargo subcommand to execute a custom command.
#![deny(warnings)]

extern crate dirs;
extern crate serde_json;
extern crate toml;
#[macro_use]
extern crate serde_derive;

mod config;
mod handle;
mod meta;

use std::env;
use std::process::exit;

fn main() {
    let mut args = env::args();
    let cmd = match args.nth(2) {
        Some(s) => s,
        None => {
            eprintln!("bad argument");
            exit(1);
        }
    };

    handle::run(&cmd);
}