argparse_dataclass
argparse_dataclass copied to clipboard
Declarative CLIs with argparse and dataclasses
``` from argparse_dataclass import dataclass from argparse_dataclass import ArgumentParser @dataclass class SubOption: a: int = 1 b: int = 2 @dataclass class Options: x: int = 42 y: bool =...
I don't see dict case used in examples.
It was a lot more involved to get support for fields that are exclusively part the initialization. If you feel that supporting this is not worth the complexity, I am...
I am trying to use the `ArgumentDefaultsHelpFormatter` class from the original `argparse` library to enhance the displayed help information when using the `ArgumentParser` class from the `argparse_dataclass` library. Suppose I...
Thank you for the library. It seems it is not support arguments that are tuples and lists and the moment. Would be a great addition.