From b27a1fccad08a8aac11b73097e93a6aa97bf87f7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 Jan 2025 22:27:54 -0600 Subject: allow delete for a single repo --- argv.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'argv.go') diff --git a/argv.go b/argv.go index 8d9c311..b80d07e 100644 --- a/argv.go +++ b/argv.go @@ -20,6 +20,7 @@ type args struct { Patch *PatchCmd `arg:"subcommand:patch" help:"examine and make patch sets"` GitPull *FindCmd `arg:"subcommand:pull" help:"run 'git pull'"` Rescan *EmptyCmd `arg:"subcommand:rescan" help:"recreate the git protobuf repos.pb file"` + Delete *EmptyCmd `arg:"subcommand:delete" help:"untrack a repo"` URL string `arg:"--connect" help:"gowebd url"` Bash bool `arg:"--bash" help:"generate bash completion"` BashAuto []string `arg:"--auto-complete" help:"does the actual autocompletion"` @@ -29,6 +30,8 @@ type args struct { type EmptyCmd struct { } +type testCmd string + type PatchCmd struct { List *EmptyCmd `arg:"subcommand:list" help:"list available patches"` Show *EmptyCmd `arg:"subcommand:show" help:"show a specific patch"` -- cgit v1.2.3