summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-10 16:35:58 -0600
committerJeff Carr <[email protected]>2024-02-10 16:35:58 -0600
commit44e6fc669ed317173303affe13117aa16b09cd68 (patch)
treea8aeaa34e7cc35a6dbd0a58e9c6e623c60cb57ed /args.go
parentd590533ad55395991f66dd13d53215ebec3c68e7 (diff)
add command line options
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'args.go')
-rw-r--r--args.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/args.go b/args.go
index 0f45f70..0711ba4 100644
--- a/args.go
+++ b/args.go
@@ -12,11 +12,15 @@ import (
"go.wit.com/log"
)
- // GadgetDisplay string `arg:"env:DISPLAY"`
- // GadgetTmpLog bool `arg:"--tmp-log" help:"automatically send STDOUT to /tmp"`
- // GadgetVerboseDNS bool `arg:"--verbose" help:"debug your dns settings"`
+// GadgetDisplay string `arg:"env:DISPLAY"`
+// GadgetTmpLog bool `arg:"--tmp-log" help:"automatically send STDOUT to /tmp"`
+// GadgetVerboseDNS bool `arg:"--verbose" help:"debug your dns settings"`
var args struct {
- TmpLog bool `arg:"--tmp-log" help:"automatically send STDOUT to /tmp"`
+ DownloadAll bool `arg:"--download-all" help:"download everything from go.wit.com"`
+ GitPull bool `arg:"--git-pull" help:"do git pull in every repository"`
+ CheckoutUser bool `arg:"--switch-to-user-branch" help:"switch everything to your user branch"`
+ CheckoutDevel bool `arg:"--switch-to-devel-branch" help:"switch everything to the devel branch"`
+ TmpLog bool `arg:"--tmp-log" help:"automatically send STDOUT to /tmp"`
}
func init() {