moleculerjs / moleculer-repl

REPL module for Moleculer framework
http://moleculer.services/docs/moleculer-repl.html
MIT License
27 stars 25 forks source link

Feature request - command history #63

Closed icex closed 2 years ago

icex commented 2 years ago

Hi,

We've been using moleculer for some time and we would to have a way to persist the command history (arrow up in repl) after a service restart.

AndreMaz commented 2 years ago

Awesome suggestion @icex 👍 https://github.com/moleculerjs/moleculer-repl/pull/64 should add a .moleculer_repl_history to homedir. I've tested on Win10 and things seem to be working. Tomorrow will test on Linux.

Can you please install it from the feature/repl_history and also do a quick test?

icex commented 2 years ago

Works fine on Mac OS(file in homedir ~/.moleculer_repl_history), should be fine on Linux as well..