dbflow 0.0.1

A work in progress
Documentation
extern crate clap;
extern crate core;
extern crate libdbflow;
extern crate postgres;
extern crate serde;

use server::templates;

#[macro_use]
mod macros;

mod cli;
mod config;
mod db;
mod server;

fn main() {
  templates::index::apply();

  let matches = cli::args::get_matches();

  let cfg_dir = match matches.value_of("config") {
    None => String::from("."),
    Some(o) => String::from(o)
  };

  server::start::start(cfg_dir);
}