summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-11 00:03:08 -0600
committerJeff Carr <[email protected]>2024-12-11 00:03:08 -0600
commitb5a5732ead91ca963ca56341e8993c2c502345f5 (patch)
treec6fc59549d4cc30ec9267be436e9b877f940e5a5 /argv.go
parentb952bb8adbb6d161382fc95cf70d7e26e74c5f05 (diff)
purge() go cache files
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 788f8ba..f5da074 100644
--- a/argv.go
+++ b/argv.go
@@ -7,7 +7,8 @@ package main
var argv args
type args struct {
- Repo string `arg:"positional" help:"gopath (otherwise uses "pwd")"`
+ Recursive bool `arg:"--recursive" default:"false" help:"clean every repo found in go/src or go.work"`
+ Auto bool `arg:"--auto" help:"don't approve via STDIN"`
}
func (args) Version() string {