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 for dynamic tab completion #1269

Closed
softprops opened this issue May 4, 2018 · 2 comments
Closed

Support for dynamic tab completion #1269

softprops opened this issue May 4, 2018 · 2 comments

Comments

@softprops
Copy link

Looking for something akin to the dynamic options feature of the golang cli package

https://github.com/alecthomas/kingpin/blob/master/README.md#additional-api

More specifically I would like an alternative to the existing clap API that let's you configure a static array of arg option values that would let me instead provide a fn type that yields a dynamic list.

Bonus points if this could factor into claps current support for tab completion

I would be interested in working on an implementation with some coaching on what the key areas in clap would need to change.

@kbknapp
Copy link
Member

kbknapp commented Jun 5, 2018

This is covered by #1232 and #568

It's something I very much want, I just have some other priorities to get 3.x-beta out the door first 😉 I'm going to close this in favor of the other two issues. Feel free to discuss there and we can work on implementation!

@kbknapp kbknapp closed this as completed Jun 5, 2018
@softprops
Copy link
Author

No prob. These are exactly what I'm looking for!

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

No branches or pull requests

2 participants