2.1.2 • Published 2 years ago

redis-cli v2.1.2

Weekly downloads
3,984
License
MIT
Repository
github
Last release
2 years ago

license npm version CircleCI Codecov

NPM

Redis-Cli

Install

$ npm install -g redis-cli

Usage

$ rdcli
// which is default connect to 127.0.0.1:6379
$ rdcli -h 10.4.23.235
// which will connect to 10.4.23.235
$ rdcli -c
// works in cluster mode, which will follow cluster redirection
$ rdcli --help
rdcli [OPTIONS] [cmd [arg [arg ...]]]

Options:
      --help     Show help                                             [boolean]
      --version  Show version number                                   [boolean]
  -h, --host     Server hostname (default: 127.0.0.1).
                                                 [string] [default: "127.0.0.1"]
  -p, --port     Server port (default: 6379).           [number] [default: 6379]
  -s, --socket   Server socket (overrides hostname and port).           [string]
  -a, --auth     Server password.                                       [string]
  -u             Server URI.                                            [string]
  -m, --mode     Server Type, only redis available now.
                                           [choices: "redis"] [default: "redis"]
  -c, --cluster  Enable cluster mode (follow -ASK and -MOVED redirections).
                                                      [boolean] [default: false]
      --tls      Establish a secure TLS connection.   [boolean] [default: false]

Roadmap

  • more available cli params like official redis-cli
  • handle cluster-like redis (PaaS) which do not support ALL CMD
  • support MEMCACHE protocol

LICENSE

MIT

2.1.2

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

4 years ago

2.0.0-alpha.4

4 years ago

2.0.0-alpha.3

4 years ago

2.0.0-alpha.0

4 years ago

2.0.0-alpha.1

4 years ago

2.0.0-alpha.2

4 years ago

1.4.0

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago