We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a324121 commit 13c1a47Copy full SHA for 13c1a47
src/main.rs
@@ -5,7 +5,7 @@ extern crate colored;
5
extern crate git2;
6
extern crate walkdir;
7
8
-use clap::{App, AppSettings};
+use clap::{crate_version, App, AppSettings};
9
10
mod input_args;
11
mod status;
@@ -16,7 +16,7 @@ mod git;
16
fn main() {
17
let app = App::new("Git Governance")
18
.setting(AppSettings::ArgRequiredElseHelp)
19
- .version("1.0")
+ .version(crate_version!())
20
.subcommand(status::sub_command())
21
.subcommand(create::sub_command())
22
.subcommand(fetch::sub_command());
0 commit comments