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 da518f3 commit 740363fCopy full SHA for 740363f
main.go
@@ -10,9 +10,18 @@ import (
10
"github.com/GitJournal/git-auto-sync/common"
11
)
12
13
+var version = "dev"
14
+
15
func main() {
16
+ cli.VersionFlag = &cli.BoolFlag{
17
+ Name: "version",
18
+ Aliases: []string{"V"},
19
+ Usage: "Print only the version",
20
+ }
21
22
app := &cli.App{
23
Name: "git-auto-sync",
24
+ Version: version,
25
Usage: "Automatically Sync any Git Repo",
26
EnableBashCompletion: true,
27
Commands: []*cli.Command{
todo.md
@@ -34,4 +34,3 @@ Commands -
34
* Allow running the 'sync' command from a non top level directory
35
36
* Add a merge strategy where it doesn't take the YAML header changes into account
37
-* Add a version common
0 commit comments