-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Support Actions #71
Comments
Could you elaborate a little bit on the use case, i.e., give a small example of what the feature would look like? If you're referring to the Since it is typically possible to solve such use cases in a type-safe fashion on top of the raw arguments, I haven't really encountered a use case where I truly needed to expose the |
I have an argument
This isn't possible as
|
That's a pretty interesting use case indeed! I'm not having a lot of time right now to look into it in detail and will be offline for a few weeks, so just a few thoughts for now. On first glance it could make sense to handle the case where |
I want to have an argument that takes multiple values but of different types. This seems only possible with the action argument which isn't supported by typed-argparse.
In my fork I've added the
action
argument and everything works as is, though I think it might require a little more thought than just that. (e.g. whicharg
s should allowaction
)The text was updated successfully, but these errors were encountered: