replit/clui

Can I use this in a terminal emulator?

renannprado opened this issue · 3 comments

Sorry for the stupid question, but can I use this to write a command line application and render the suggestions in a terminal emulator?

If so, is there any example of it?

moudy commented

@renannprado the @replit/clui-input package can be used anywhere javascript runs so it should work with something like https://github.com/vadimdemedes/ink but I haven't tried.

@akramhussein yes. But I could not understand how that helps me to run exactly that from a terminal emulator instead of a browser.