summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
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"`
+}