diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 3371a9f..0cdab68 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,12 @@ extern crate ilc_cli; +use ilc_cli::Cli; + +static MASTER: &'static str = include_str!("../.git/refs/heads/master"); + fn main() { - ilc_cli::main(); + ilc_cli::main(Cli { + version: env!("CARGO_PKG_VERSION").into(), + master_hash: MASTER.trim_right().into(), + }); } |