summaryrefslogtreecommitdiff
path: root/argv.struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.struct.go')
-rw-r--r--argv.struct.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/argv.struct.go b/argv.struct.go
new file mode 100644
index 0000000..36c5c2d
--- /dev/null
+++ b/argv.struct.go
@@ -0,0 +1,7 @@
+package main
+
+var argv args
+
+type args struct {
+ Demo string `arg:"positional" help:"this is just a demo"`
+}