From 8a788bef6d201b50dd066a62167a23378e4162a7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 9 Jul 2025 03:18:29 -0500 Subject: make git clone work in forged --- argv.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'argv.go') diff --git a/argv.go b/argv.go index ab69ec4..573212b 100644 --- a/argv.go +++ b/argv.go @@ -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 { -- cgit v1.2.3