Closed vwxyzjn closed 1 year ago
Yeah, this looks nice!
Including help messages for fields that are passed invalid types seems useful, as does pointing out similar fields if we're given one that doesn't exist. Is there anything I'm missing?
I was also totally unaware of hyperstate
; it looks clean.
:) Yeah current message looks like this, which can be overwhelming.
Newest release should improve things on this front!
When using hyperstate, something that I found helpful was its error message. Is there any chance tyro can support something similar? The relevant code is here: https://github.com/cswinter/hyperstate/blob/94b1ed31210afed8a9f60ca2a38d73ed7a7a5ea7/hyperstate/command.py#L17-L59