Redis CLI written in Nodejs
- Better output
- Handle connection error when
host or IP address
is invalid
The npm link command allow us to locally ‘symlink a package folder’, and for our needs, it will locally install any command listed in the bin field of our package.json.
The npm link command is used from within the NodeJS package directory we want to symlink:
$ npm link
to uninstall
$ npm unlink
Now we can executed from anywhere
$ redis-cli-node -h localhost -p 6379