Commit 8fb9a3b
committed
fix: v2.7.0rc1
+ Added the support for more `type`s to pass to
`ColorizingArgumentParser().add_argument(...)`: `tuple` and
`typing.Required`.
+ Modified the way `Enum`s are handled in the Argument Parser.
+ Handled some `typing._SpecialForm`s.
+ feat: A normal ArgumentGroup can now be required! (Unlike
MutuallyExclusiveGroup it can have more than 1 option used at the same
time)1 parent 968afa0 commit 8fb9a3b
4 files changed
Lines changed: 460 additions & 53 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments