summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/argv.go b/argv.go
new file mode 100644
index 0000000..32d29cd
--- /dev/null
+++ b/argv.go
@@ -0,0 +1,16 @@
+// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
+// Use of this source code is governed by the GPL 3.0
+
+package main
+
+var argv args
+
+type args struct {
+ Rebuild *EmptyCmd `arg:"subcommand:rebuild" help:"rebuild the GO GUI plugins"`
+ DryRun bool `arg:"--dry-run" help:"only show what would be packaged"`
+ Verbose bool `arg:"--verbose" help:"be loud about it"`
+ Force bool `arg:"--force" help:"rebuild everything"`
+}
+
+type EmptyCmd struct {
+}