We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Command line args are all passed as strings. There should be a way to register converters for a target. Without converters:
@registry.register_target def target_with_params(param): print('param is a string')
Prototype design:
@registry.register_target(converters={'param': int}) def target_with_params(param): print('param is an int')
with param = int(param) being called behind the scenes, but an arbitrary converter callback should be acceptable.
param = int(param)
The text was updated successfully, but these errors were encountered:
Currently blocked by #6 and #7
Sorry, something went wrong.
LachlanMarnham
No branches or pull requests
Command line args are all passed as strings. There should be a way to register converters for a target. Without converters:
Prototype design:
with
param = int(param)
being called behind the scenes, but an arbitrary converter callback should be acceptable.The text was updated successfully, but these errors were encountered: