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

Integrating with CLI-Cobra #56

Open
pjebs opened this issue Dec 29, 2017 · 3 comments · May be fixed by #182
Open

Integrating with CLI-Cobra #56

pjebs opened this issue Dec 29, 2017 · 3 comments · May be fixed by #182

Comments

@pjebs
Copy link

pjebs commented Dec 29, 2017

Promptui is a library providing a simple interface to create command-line prompts for go. It can be easily integrated into spf13/cobra, urfave/cli or any cli go application.

Is there an example project giving some guidelines or a starting-off point on how to integrate with cobra?

@jayunit100
Copy link

Im definetly looking for the same thing. ill try to PR one if i can get it working.

@jdaily
Copy link

jdaily commented Oct 26, 2018

Not sure if this helps but here is a gist of using promptui with CLI
https://gist.github.com/jdaily/ae9640750d1d73170312963e720075d6

@garyposter
Copy link

We're waiting on a contributor agreement for #79 but we could just add a link ourselves and close that PR.... Anyway, that PR points to https://github.com/jayunit100/promptui-cobra-example , thanks to @jayunit100 .

@whiteCcinn whiteCcinn linked a pull request May 21, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

4 participants