From a75e4796680ecf33b74db60b6b780d6e7e6cc0f3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 26 Oct 2025 10:06:13 -0500 Subject: new argv (much better than before) --- argv.struct.go | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 argv.struct.go (limited to 'argv.struct.go') diff --git a/argv.struct.go b/argv.struct.go deleted file mode 100644 index 9e0db4b..0000000 --- a/argv.struct.go +++ /dev/null @@ -1,18 +0,0 @@ -package main - -var argv args - -type args struct { - Trim bool `arg:"--trim" default:"true" help:"trim entries from go.sum"` - Verbose bool `arg:"--verbose" help:"show more"` - Restore bool `arg:"--restore" help:"only restore from go/pkg/mod/"` - Force bool `arg:"--force" help:"remove things and redo them no matter what"` - Purge *EmptyCmd `arg:"subcommand:purge" help:"purge all git notes. (this is where the autogenerated files are stored)"` - Smart *EmptyCmd `arg:"subcommand:lax" help:"try something but never do os.Exit(-1)"` - Strict *EmptyCmd `arg:"subcommand:strict" help:"never make go.* files unless everything is perfect"` - Bash bool `arg:"--bash" help:"generate bash completion"` - BashAuto []string `arg:"--auto-complete" help:"todo: move this to go-arg"` -} - -type EmptyCmd struct { -} -- cgit v1.2.3