diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 10:29:48 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 10:29:48 -0500 |
| commit | a0932e4887683e445f5c0d1cd90bf711ab4b1bf2 (patch) | |
| tree | 3d3bfff4ae19967c0fa71b0061504235017ecac0 /argv.go | |
| parent | a9eef24fd4378f0f94897b0d3fd2eb8092f50c8b (diff) | |
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 { +} |
