diff options
| author | Jeff Carr <[email protected]> | 2025-07-09 03:18:29 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-07-09 23:24:06 -0500 |
| commit | 8a788bef6d201b50dd066a62167a23378e4162a7 (patch) | |
| tree | ab18e3b8af5eab617b48bdceae38759ca4320aee /argv.go | |
| parent | 3588440aed55e81864c1afd2d96d6b037242befd (diff) | |
make git clone work in forged
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 { |
