Skip to content
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

add auto-args feature #70

Merged
merged 2 commits into from
Mar 12, 2021
Merged

add auto-args feature #70

merged 2 commits into from
Mar 12, 2021

Conversation

droundy
Copy link
Contributor

@droundy droundy commented Feb 15, 2020

This allows us to support auto-args trait enabling command-line… arguments with dimensions.

The current missing feature that I'd love to have is to be able to make the help message specify the actual units expected. But I don't see any easy way to get the units out of a type.

Base automatically changed from master to main March 12, 2021 10:48
@paholg
Copy link
Owner

paholg commented Mar 12, 2021

Sorry for the delay; this looks good to me.

The various format implementations already get the units from the type, they just also get the value. It should be easy enough to separate those, and make a static method that formats just the units.

@paholg paholg merged commit 093104c into paholg:main Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants