diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -12,8 +12,12 @@ import ( var argv args type args struct { - Port int `arg:"--port" default:"2520" help:"port to run on"` - Hostname string `arg:"--hostname" default:"forge.wit.com" help:"hostname to use"` + Pull *EmptyCmd `arg:"subcommand:pull" help:"list the repos"` + Port int `arg:"--port" default:"2520" help:"port to run on"` + Hostname string `arg:"--hostname" default:"forge.wit.com" help:"hostname to use"` +} + +type EmptyCmd struct { } func (args) Version() string { |
