diff options
| author | Jeff Carr <[email protected]> | 2024-12-18 01:29:07 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-18 01:29:07 -0600 |
| commit | 5c156fa55e2ee7980a6bbfc9a0a7df5b8984aef0 (patch) | |
| tree | 6676861bb505351bd2ab375a7036f0a59ebc14d9 /argv.go | |
| parent | 4879befeb3ad89f0357f995413afcab904296599 (diff) | |
add --purge to get rid of all notesv0.0.19
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -7,14 +7,12 @@ package main var argv args type args struct { - All bool `arg:"--all" default:"false" help:"redo every repo found in go/src or go.work"` - Auto bool `arg:"--auto" help:"don't approve via STDIN"` Trim bool `arg:"--trim" default:"true" help:"trim entries from go.sum"` Verbose bool `arg:"--verbose" help:"show more"` - Notes bool `arg:"--metadata" help:"save as git metadata (notes)"` - Restore bool `arg:"--restore" default:"true" help:"restore from git metadata"` + Restore bool `arg:"--restore" help:"only restore from go/pkg/mod/"` Force bool `arg:"--force" help:"remove things and redo them no matter what"` - Strict bool `arg:"--strict" default:"false" help:"never make go.* files unless everything is perfect"` + Strict bool `arg:"--strict" help:"never make go.* files unless everything is perfect"` + Purge bool `arg:"--purge" help:"purge all the git notes. this might be bad for you."` } func (args) Version() string { |
