caml 0.1.1

A dynamic CLI tool defined with declarative YAML
Documentation
// use std::path::PathBuf;
use structopt::StructOpt;

mod caml;
use crate::caml as caml_lib;

#[derive(StructOpt)]
#[structopt(name = "caml", about = "A dynamic CLI tool defined with declarative YAML")]
enum Caml {
    #[structopt(name = "hello", about = "Say hello")]
    Hello,
    #[structopt(name = "config", about = "Configuration")]
    Config,
}

fn main() {
    let caml = Caml::from_args();

    match caml {
        Caml::Hello => { caml_lib::command::hello_world() },
        Caml::Config => { caml_lib::config::load() },
    }
}