From dd7355571d80b4d6c970e417df85244dbfd253e0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 28 Jan 2025 13:58:41 -0600 Subject: add 'forge find patches' --- argv.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'argv.go') diff --git a/argv.go b/argv.go index 13bedd9..5d71db3 100644 --- a/argv.go +++ b/argv.go @@ -94,12 +94,13 @@ type DirtyCmd struct { } type FindCmd struct { - All bool `arg:"--all" help:"select every repo (the default)"` - Mine bool `arg:"--mine" help:"your repos as defined in the forge config"` - Favorites bool `arg:"--favorites" help:"your repos configured as favorites"` - Private bool `arg:"--private" help:"your private repos from your .config/forge/"` - Dirty bool `arg:"--dirty" help:"only use dirty git repos"` - User bool `arg:"--user" help:"show repos on the user branch"` + Patches *EmptyCmd `arg:"subcommand:patches" help:"show repos that have patches"` + All bool `arg:"--all" help:"select every repo (the default)"` + Mine bool `arg:"--mine" help:"your repos as defined in the forge config"` + Favorites bool `arg:"--favorites" help:"your repos configured as favorites"` + Private bool `arg:"--private" help:"your private repos from your .config/forge/"` + Dirty bool `arg:"--dirty" help:"only use dirty git repos"` + User bool `arg:"--user" help:"show repos on the user branch"` // ReadOnly bool `arg:"--readonly" help:"include read-only repos"` } -- cgit v1.2.3