-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Interactive option #44
Comments
I have that use case, but for individual commands as well as for a whole app, and I'd want any number of them. $ mycmdlineapp stuff
a question: something
another question: abc123
yet another question: more answers |
I'm not sure this needs to be in the cli package itself. I needed to have an interactive mode so I did it this way: https://github.com/codegangsta/hip/blob/master/hip.go#L64-L78 |
Yeah, I've got code that handles it, as well. I'm happy to keep it that way, if you think that it's best to keep it out of the Should this issue be closed, then? |
Yup. Closing |
❤️ <-- random open source love (thanks for writing this package) |
Thanks for reminding me to clean up these issues. I have been so busy with On Tue, Dec 3, 2013 at 6:08 PM, Katrina Owen notifications@github.comwrote:
|
Wow, closing that ticket without even letting me troll a little bit. That's rude. |
I'd really to be able to create interactive flags: when it's used, it will read it's value from standard input.
example:
$ mycmdlineapp --ask-password password: *******
It's golang usage could like:
What do you think?
The text was updated successfully, but these errors were encountered: