summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 09:34:27 -0500
committerJeff Carr <[email protected]>2025-10-26 09:34:27 -0500
commitd411389d0bf214fee8502ddc5f18307b2fc8f698 (patch)
tree54698fdd1fd16143422524047e9ce7d02adb9a55 /argv.go
parent6dc6b5c25a4a489e37529e05380fe57646a59c0c (diff)
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/argv.go b/argv.go
new file mode 100644
index 0000000..48a7dbd
--- /dev/null
+++ b/argv.go
@@ -0,0 +1,11 @@
+package main
+
+var argv args
+
+type args struct {
+ Demo *EmptyCmd `arg:"subcommand:demo" help:"this is just a demo"`
+ // Demo string `arg:"positional" help:"this is just a demo"`
+}
+
+type EmptyCmd struct {
+}