diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -15,12 +15,13 @@ import ( var argv args type args struct { - Auto bool `arg:"--auto" help:"automatically attempt to make the .deb"` - Ldflags []string `arg:"--ldflags" help:"flags to pass to go build"` - Repo string `arg:"--repo" help:"go get path to the repo"` - PkgDir string `arg:"--pkg-dir" help:"set default directory (~/incoming/)"` - Release bool `arg:"--release" help:"build a release from the last git tag"` - KeepFiles bool `arg:"--keep-files" help:"keep the build files/"` + Auto bool `arg:"--auto" help:"automatically attempt to make the .deb"` + Ldflags []string `arg:"--ldflags" help:"flags to pass to go build"` + Repo string `arg:"--repo" help:"go get path to the repo"` + PkgDir string `arg:"--pkg-dir" help:"set default directory (~/incoming/)"` + Release bool `arg:"--release" help:"build a release from the last git tag"` + KeepFiles bool `arg:"--keep-files" help:"keep the build files/"` + Force bool `arg:"--force" default:"false" help:"force overwrite an existing .deb file"` } func init() { |
