mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-12-15 13:25:39 +00:00
Allow positional args to be Choice<'a, 'a> to indicate whether they came before any positional marker (#238)
This commit is contained in:
@@ -128,3 +128,10 @@ type ParentRecordSelfPos =
|
||||
[<PositionalArgs>]
|
||||
AndAnother : bool list
|
||||
}
|
||||
|
||||
[<ArgParser true>]
|
||||
type ChoicePositionals =
|
||||
{
|
||||
[<PositionalArgs>]
|
||||
Args : Choice<string, string> list
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user