diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 05:01:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 05:01:42 -0500 |
| commit | 9ac5032144a72a71515cdccbfddce44bdb8b9d2c (patch) | |
| tree | d25fe8435475e86347368ec62f14b843c38a568c /argv.struct.go | |
| parent | 7abc658c20a143bef36e30ad34719776bbc7a505 (diff) | |
new argv schemev0.22.166
Diffstat (limited to 'argv.struct.go')
| -rw-r--r-- | argv.struct.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/argv.struct.go b/argv.struct.go new file mode 100644 index 0000000..d47a5e7 --- /dev/null +++ b/argv.struct.go @@ -0,0 +1,21 @@ +package main + +var argv args + +type args struct { + Show *EmptyCmd `arg:"subcommand:show" help:"show what would be done"` + Gui *EmptyCmd `arg:"subcommand:gui" help:"open the gui"` + Dump *EmptyCmd `arg:"subcommand:dump" help:"dump out the future control file"` + Ldflags []string `arg:"--ldflags" help:"flags to pass to go build"` + OutDir string `arg:"--dir" help:"write .deb file into this directory"` + Namespace string `arg:"--namespace" help:"the namespace of the repo"` + Arch string `arg:"--arch" help:"what arch"` + BuildVersion int `arg:"--buildversion" help:"what arch"` + KeepFiles bool `arg:"--keep-files" help:"keep the build files/"` + Release bool `arg:"--release" help:"build version from the @latest git tag"` + Force bool `arg:"--force" default:"false" help:"force overwrite an existing .deb file"` + Verbose bool `arg:"--verbose" help:"show more things"` +} + +type EmptyCmd struct { +} |
