redis-eventemitter-cli

0.0.2 • Public • Published

Redis-eventemitter CLI

Command line tool for redis-eventemitter.

Installation

You can install it with npm

npm install redis-eventemitter-cli -g

Usage

Command line tool for redis-eventemitter.

  Usage: node ./index [command] [options]

  Commands:

  emit [channel] [message] [options]  Emits an event.
  on   [pattern] [options]            Listens for events.

  Options:

    --host -h The host of the redis server (defaults to localhost)
    --port -p The port of the redis server (defaults to 6397)
    --password -a The password of the redis server

    You can also save a file to HOME/.redis-eventemitter-cli.json with the host, port and password like this

    {
        "host": "localhost",
        "port": "6379",
        "password": "mypassword"
    }

Readme

Keywords

none

Package Sidebar

Install

npm i redis-eventemitter-cli

Weekly Downloads

2

Version

0.0.2

License

none

Last publish

Collaborators

  • sorribas