summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:49:12 -0500
committerJeff Carr <[email protected]>2025-10-26 10:49:12 -0500
commitd22db5dabfc6f8330b38adedd0528192ae2d47d8 (patch)
tree725c410000f83009b1ce6a6d2da6712db082eb9c /argv.go
parent2a466a788a0f78dddce2ca544db6e34f0b8e2f12 (diff)
parent51027a1b04b3da1a81d617d16a07ac1242d90a81 (diff)
Merge branch 'jcarr' into develHEADmasterdevel
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/argv.go b/argv.go
new file mode 100644
index 0000000..4a1db02
--- /dev/null
+++ b/argv.go
@@ -0,0 +1,15 @@
+// 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 {
+ Test *EmptyCmd `arg:"subcommand:test" help:"test"`
+ Verbose bool `arg:"--verbose" help:"be loud about it"`
+ Force bool `arg:"--force" help:"rebuild everything"`
+}
+
+type EmptyCmd struct {
+}