summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:48:41 -0500
committerJeff Carr <[email protected]>2025-10-26 10:48:41 -0500
commit51027a1b04b3da1a81d617d16a07ac1242d90a81 (patch)
treececc3b9d3d1c2e9b6285117bb5ae01827b30fd22 /argv.go
parent0653bd60ce9276ad6245b25c60f37aefd0d1408a (diff)
update for new argvpb changes
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 {
+}