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

Inter-argument order #8

Closed
henryiii opened this issue Jun 1, 2017 · 0 comments · Fixed by #17
Closed

Inter-argument order #8

henryiii opened this issue Jun 1, 2017 · 0 comments · Fixed by #17
Milestone

Comments

@henryiii
Copy link
Collaborator

henryiii commented Jun 1, 2017

The poster here describes a specific issue that should be easy to solve with a small modification to CLI11.

Planned solution: store a vector of pointers to Options as it parses. Then this could be solved like this:

for(Option* opt : app.parse_order()) {
    if(opt == arg1)
        \\ use value of arg1
}
@henryiii henryiii modified the milestone: v1.1 Jun 2, 2017
henryiii added a commit that referenced this issue Jun 5, 2017
* Fixes for #8, vars hidden and findPython used

* Adding compat with default python, better defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant