summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-05-13 22:43:11 -0600
committerGitHub <noreply@github.com>2019-05-13 22:43:11 -0600
commit90d6e6cf0b22520a5177e8e842acbb142482e4eb (patch)
tree710276850e7632a6b22237775b69422fdc320f01 /src/main.rs
parentc95bb6057178748cf235c566ea00320cf392cbfa (diff)
Implement the git status module (#45)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index d5422a129..0d873868a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,6 +4,7 @@ extern crate clap;
extern crate ansi_term;
extern crate dirs;
extern crate git2;
+extern crate pretty_env_logger;
mod context;
mod module;
@@ -14,6 +15,8 @@ mod segment;
use clap::{App, Arg};
fn main() {
+ pretty_env_logger::init();
+
let args = App::new("Starship")
.about("The cross-shell prompt for astronauts. ✨🚀")
// pull the version number from Cargo.toml