#[macro_use]
extern crate clap;

mod domain;

use std::fs::File;
use std::io::prelude::*;

use chrono::prelude::*;
use clap::{App, Arg};
use dotenv::dotenv;
use serde_derive::{Deserialize, Serialize};

use self::domain::{
    Entry, EntryId, EntryKind, Project, ProjectHeadwayEntry, ProjectId, ProjectStatus,
};

#[derive(Serialize, Deserialize)]
pub struct Log {
    pub projects: Vec<Project>,
    pub entries: Vec<Entry>,
}

fn main() {
    dotenv().ok();

    let matches = App::new("scribe")
        .version(crate_version!())
        .author(crate_authors!())
        .arg(
            Arg::with_name("config")
                .short("c")
                .long("config")
                .value_name("FILE")
                .takes_value(true),
        )
        .get_matches();

    let config = matches.value_of("config").unwrap_or(".scribe");

    println!("{}", config);
}

mod domain;

use std::fs::File;
use std::io::prelude::*;

use chrono::prelude::*;
use clap::{App, Arg};
use dotenv::dotenv;
use serde_derive::{Deserialize, Serialize};

use self::domain::{
    Entry, EntryId, EntryKind, Project, ProjectHeadwayEntry, ProjectId, ProjectStatus,
};

#[derive(Serialize, Deserialize)]
pub struct Log {
    pub projects: Vec<Project>,
    pub entries: Vec<Entry>,
}

fn main() {
    dotenv().ok();

    let matches = App::new("scribe")
        .version("0.1.0")
        .author("Marshall Bowers <elliott.codes@gmail.com>")
        .arg(
            Arg::with_name("config")
                .short("c")
                .long("config")
                .value_name("FILE")
                .takes_value(true),
        )
        .get_matches();

    let config = matches.value_of("config").unwrap_or(".scribe");

    println!("{}", config);
}

--- 
+++ 
@@ -1,3 +1,6 @@
+#[macro_use]
+extern crate clap;
+
 mod domain;
 
 use std::fs::File;
@@ -22,8 +25,8 @@
     dotenv().ok();
 
     let matches = App::new("scribe")
-        .version("0.1.0")
-        .author("Marshall Bowers <elliott.codes@gmail.com>")
+        .version(crate_version!())
+        .author(crate_authors!())
         .arg(
             Arg::with_name("config")
                 .short("c")
Use crate version and author
