Add ArgumentLongForm (#244)

This commit is contained in:
Patrick Stevens
2024-09-05 21:26:52 +01:00
committed by GitHub
parent e4cbab3209
commit 8ae749c529
7 changed files with 814 additions and 260 deletions

View File

@@ -178,3 +178,15 @@ type ContainsFlagDefaultValue =
}
static member DefaultDryRun () = DryRunMode.Wet
[<ArgParser true>]
type ManyLongForms =
{
[<ArgumentLongForm "do-something-else">]
[<ArgumentLongForm "anotherarg">]
DoTheThing : string
[<ArgumentLongForm "turn-it-on">]
[<ArgumentLongForm "dont-turn-it-off">]
SomeFlag : bool
}

File diff suppressed because it is too large Load Diff