Closed Conchylicultor closed 1 year ago
The dataclasses.field(init=False) would do the thing. If you use that and wanna init this field, you could still initialize it in __post_int__ function.
Hello @Conchylicultor !
Yes there is something like this, you can use simple_parsing.field(cmd=False)
.
Hope this helps!
I'll close this if that's alright with you. LMK if you have any other questions @Conchylicultor .
Thanks again for posting!
Awesome! Thank you for the quick answer
In the dataclass, it is possible to have field which should not be exposed in the CLI. It would be nice to have a way to skip registering those flags:
Then
--x
would be detected, but not--y
: