🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

redis-cli

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-cli

A Redis Cli Tool

2.1.2
latest
Source
npm
Version published
Weekly downloads
6.7K
-0.82%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

redis

FAQs

Package last updated on 11 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts