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

Support converting to Java types from multiple string values #44

Open
rvesse opened this issue Jan 12, 2016 · 0 comments
Open

Support converting to Java types from multiple string values #44

rvesse opened this issue Jan 12, 2016 · 0 comments
Labels
enhancement Proposed Enhancement/Feature
Milestone

Comments

@rvesse
Copy link
Owner

rvesse commented Jan 12, 2016

Currently Airline maps each argument passed in to a single Java type. In some cases it would be nice for multiple string values to be combined into a single type, this would make it possible to instantiate much more complex types than is currently possible.

Doing this would require changes to the following:

  • Need to be able to annotate that an option/argument should convert values in batches
    • If we allow batch sizes that are not equal to the arity also need to annotate that
  • Option and argument parsing needs to take the conversion batch size into account
  • Type converters need to change their signature to accommodate this
@rvesse rvesse added the enhancement Proposed Enhancement/Feature label Jan 12, 2016
@rvesse rvesse added this to the Unscheduled milestone Jan 12, 2016
@rvesse rvesse modified the milestones: Unscheduled, 3.x Release Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Proposed Enhancement/Feature
Projects
None yet
Development

No branches or pull requests

1 participant