diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 05:32:06 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 05:32:06 -0500 |
| commit | ae4d94942e53723785dc1df21c61235b713e964b (patch) | |
| tree | b79c3c030690e0cdbbab4f65483ef5ce4ccbf5ef /argv.struct.go | |
| parent | d7b8e423edae12489f8e341438ba61bb458dea9b (diff) | |
new argvv0.22.130
Diffstat (limited to 'argv.struct.go')
| -rw-r--r-- | argv.struct.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/argv.struct.go b/argv.struct.go new file mode 100644 index 0000000..93b4f42 --- /dev/null +++ b/argv.struct.go @@ -0,0 +1,14 @@ +package main + +var argv args + +type args struct { + Test *EmptyCmd `arg:"subcommand:test" help:"test repomap"` + ListRepos bool `arg:"--list-repos" help:"list all repositories"` + Port int `arg:"--port" default:"2520" help:"port to run on"` + RepoMap string `arg:"--repomap" default:"/etc/gowebd/repomap" help:"repomap file"` + Hostname string `arg:"--hostname" default:"go.wit.com" help:"hostname to use"` +} + +type EmptyCmd struct { +} |
