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 Inquirer.js with a web app? #543

Closed
mmikitka opened this issue Jun 5, 2017 · 5 comments
Closed

Integrating Inquirer.js with a web app? #543

mmikitka opened this issue Jun 5, 2017 · 5 comments

Comments

@mmikitka
Copy link

mmikitka commented Jun 5, 2017

Hello - Is it possible to integrate Inquirer.js with a web app? If so, can you please guide me to the relevant documentation? If not, would you consider adding this to the roadmap?

I am not looking for a terminal-like interface in a browser, rather I'm looking for the core of Inquirer.js (types of inquiries, validation, etc.) and pluggable outputting functions, so that my app can be used in a terminal environment and a web app environment with minimal code.

@SBoudrias
Copy link
Owner

That's not something I've ever tried. Maybe you could register custom prompt types?

@mmikitka
Copy link
Author

mmikitka commented Jun 6, 2017

Do you know of a library, not including a tightly-coupled MVC,etc. framework, that provides Web UI prompts? In the meantime, I'll play around with Inquirer.js, trying to separate the presentation layer (console, web UI) from the data-processing layer.

@SBoudrias
Copy link
Owner

I don't know of any sorry.

I'll close this issue as that's not something I consider in the scope of Inquirer.

@Kreijstal
Copy link

@MarketingPip
Copy link

@SBoudrias I know this is old! But if you are interested in possibly implementing this "in the browser".

Can I suggest you take a look at this library? Termino.js.

I would be more than happy to work together on adding support needed to make things work with your library! And assume the open-source community would be more than happy to pull it together!

ps; @mmikitka - if you are still looking for a command parser in web UI! (not connected to a SSH instance etc / but you could easily do this too) check it out!

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

4 participants