Any awesome CLI REPL to recommend?
tleb opened this issue ยท 10 comments
And therefore to add to the list. ๐
In terminal, type node
Much thanks. I meant a proper REPL, such as ptpython
.
Try Mancy. And since it is an electron app, it belongs to the awesome-electron list. ๐
Thanks @florianb, I have seen this, but I prefer CLI stuff. Is there really nothing? I'll give it a try though.
You're welcome - but i guess i don't understand what you're missing in the native node repl? It has f.e. tab-completion, colors everything a node developer needs. ๐ฌ
Not sure what you mean by "proper REPL", but running node
is a proper node REPL.
@therealklanni a REPL repl :)
The only thing I wish the native node
shell has is a better history, ex for when you define a function. Along the same lines, better multi-line editing.
I'm not sure a new shell is needed, maybe just an improvement to the native shell. @tleb what features do you feel the native shell is missing?
The features you mentioned and coloring on what we are writing, not just results, were mainly what I though about.
ptpython
really is a good example of a great REPL as a CLI.
Agreed, syntax on the current command would be nice. I've used ptpython
, and the builtin node
CLI is already very close. You might try digging around the node issue tracker, they have a very active development community. The features you want might already be implemented, or you could implement it yourself :)