-
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
I tried this, but it seems it is not supported.
type argsApply struct {
FindExpressions []ArgFind `arg:"positional" help:"find"`
ActionExpressions []ArgAction `arg:"positional,required" help:"actions"`
}
The usage prints look like it could work.
apply [FINDEXPRESSIONS [FINDEXPRESSIONS ...] ACTIONEXPRESSIONS [ACTIONEXPRESSIONS ...]]
But the unmarshaling of the "find" type creates an error and then the processing stops.
I was hoping it would then switch to the next "action" type.
Question is whether this is something that should work or not.
Metadata
Metadata
Assignees
Labels
No labels