summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:29:38 -0500
committerJeff Carr <[email protected]>2025-10-26 10:29:38 -0500
commit3a821bb206ef47432104993a5503558abc7d0001 (patch)
treef6b4569275e7068c347a61a5c2e0bfdcdf70bdeb /argv.go
parentf0ecc1302375823b6a6410b61ca41359723b88c4 (diff)
new better than before argvHEADv0.0.24v0.0.23masterdevel
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/argv.go b/argv.go
new file mode 100644
index 0000000..ce285ac
--- /dev/null
+++ b/argv.go
@@ -0,0 +1,10 @@
+package main
+
+var argv args
+
+type args struct {
+ RepoPath string `arg:"--repo" default:"./" help:"path to the .git repo"`
+ Hostname string `arg:"--hostname" help:"hostname to use"`
+ Refs bool `arg:"--refs" help:"list the git ref hashes"`
+ Tag string `arg:"--tag" help:"what tag name to walk"`
+}