diff options
Diffstat (limited to 'argv.struct.go')
| -rw-r--r-- | argv.struct.go | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/argv.struct.go b/argv.struct.go deleted file mode 100644 index 0649e16..0000000 --- a/argv.struct.go +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2017-2025 WIT.COM Inc. All rights reserved. -// Use of this source code is governed by the GPL 3.0 - -package main - -/* - this parses the command line arguements - - this enables command line options from other packages like 'gui' and 'log' -*/ - -var argv args - -type args struct { - Package string `arg:"--package" help:"the package name"` - Proto string `arg:"--proto" help:"the .proto filename"` - Mutex bool `arg:"--mutex" default:"true" help:"insert a mutex into protoc .pb.go file"` - MutexName string `arg:"--mutex-name" help:"use a var name for the mutex"` - Regret bool `arg:"--regret" help:"ignore needed UUID. You will eventually regret this."` - Delete bool `arg:"--delete" help:"use delete with copy experiment"` - DryRun bool `arg:"--dry-run" help:"check the .proto syntax, but don't do anything"` - ReFormat bool `arg:"--reformat" help:"reformat the .proto file and exit"` - Debug bool `arg:"--debug" help:"enable debugging information"` - Comments bool `arg:"--format-comments" help:"enforce parseable comments in a .proto file"` - NoFormat bool `arg:"--no-format" help:"do not auto-reformat the .proto file"` - Renumber bool `arg:"--renumber" help:"renumber everything. obviously breaks backwards compatiblity"` - Clean bool `arg:"--clean" help:"clean out any *pb.go files; bypassing mtime sanity checks"` - Mtime bool `arg:"--mtime" help:"do os.Stat() modtime sanity checks"` - GoSrc string `arg:"--go-src" help:"default is ~/go/src. could be set to your go.work path"` - GoPath string `arg:"--gopath" help:"the gopath of this repo"` - Identify string `arg:"--identify" help:"identify file"` -} |
