diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,8 @@ package main this enables command line options from other packages like 'gui' and 'log' */ +var argv args + type args struct { Repo string `arg:"positional" help:"go import path"` NoWork bool `arg:"--no-work" default:"true" help:"do not make or modify the go.work file"` @@ -28,5 +30,5 @@ This will recursively clone the app and all the build requirements: } func (args) Version() string { - return "go-clone " + Version + return "go-clone " + VERSION } |
