summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-06 15:18:23 -0600
committerJeff Carr <[email protected]>2024-11-06 15:18:23 -0600
commitea894bdfe02ab691c934397e9d9ace356910f88e (patch)
tree312d30e6d36ef9e8f6e8ed40e40d1fb072e4b88a /argv.go
parenta8b538c14b3527e2cb778e76822b7adad98582f6 (diff)
--keep-files argv flag
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/argv.go b/argv.go
index f01e98b..ea1ec8d 100644
--- a/argv.go
+++ b/argv.go
@@ -15,11 +15,12 @@ import (
var argv args
type args struct {
- NoGui bool `arg:"--no-gui" help:"don't open the gui, just 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"`
+ NoGui bool `arg:"--no-gui" help:"don't open the gui, just 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/"`
}
func init() {