diff options
| author | Jeff Carr <[email protected]> | 2024-02-10 16:35:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-10 16:35:58 -0600 |
| commit | 44e6fc669ed317173303affe13117aa16b09cd68 (patch) | |
| tree | a8aeaa34e7cc35a6dbd0a58e9c6e623c60cb57ed /args.go | |
| parent | d590533ad55395991f66dd13d53215ebec3c68e7 (diff) | |
add command line options
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'args.go')
| -rw-r--r-- | args.go | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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() { |
