diff options
Diffstat (limited to 'argv.struct.go')
| -rw-r--r-- | argv.struct.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/argv.struct.go b/argv.struct.go new file mode 100644 index 0000000..ce285ac --- /dev/null +++ b/argv.struct.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"` +} |
