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

Extend ArgBinder to support something like @ArgParser!Func #23

Closed
BradleyChatha opened this issue Nov 5, 2020 · 0 comments · Fixed by #40
Closed

Extend ArgBinder to support something like @ArgParser!Func #23

BradleyChatha opened this issue Nov 5, 2020 · 0 comments · Fixed by #40
Labels
enhancement New feature or request

Comments

@BradleyChatha
Copy link
Owner

See https://github.com/BradleyChatha/jcli/pull/5/files/fe06787d5c6e03e9a3b67499e2547dbf4fcb916b#r517442739

I think the way I'm going to go with this is to provide @ArgParser (example name) ontop of the current ArgBinder stuff.

That way there's always a generic fallback, but if an argument wants to be parsed in a specific way, then it can essentially override whatever the ArgBinder wanted to do.

@BradleyChatha BradleyChatha added the enhancement New feature or request label Nov 5, 2020
BradleyChatha added a commit that referenced this issue Nov 12, 2020
BradleyChatha added a commit that referenced this issue Nov 14, 2020
* Closes #23

* Docs

* Docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant