Skip to content
Redli - A humane alternative to the Redis-cli and TLS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Add certfile and base64 cert support Jul 25, 2018
vendor
.gitignore
.goreleaser.yml First goreleaser Jul 25, 2018
CONTRIBUTING.md
Gopkg.lock Output rework to comply with redis-cli, --raw support Aug 21, 2018
Gopkg.toml
LICENSE.txt Added License Jul 26, 2018
README.md Improved EVAL description and readme Oct 4, 2018
commands.go removed copyright from commands.go Aug 21, 2018
commands.json First commit of POC work Jul 23, 2018
getcommands.sh Now creates the go file for inclusion. Jul 26, 2018
redli.go OBO error fixed in eval Oct 4, 2018

README.md

Redli - a humane alternative to redis-cli

About

Redli is a Go-based alternative to the official Redis-cli application. It's major feature is that it mimics the redis-cli command line argurments while also understanding rediss: protocols and supporting a --tls flag allowing it to connect to TLS/SSL secured Redis without the need for tunnels. It also has a number of flags and environment variables for passing server certificates over as files or base64 strings. Note, passing a certificate turns TLS on by default.

Usage

 redli [<flags>] [<commands>...]

      --help               Show context-sensitive help (also try --help-long and --help-man).
      --debug              Enable debug mode.
      --long               Enable long prompt with host/port
  -u, --uri=URI            URI to connect to
  -h, --host="127.0.0.1"   Host to connect to
  -p, --port=6379          Port to connect to
  -a, --auth=AUTH          Password to use when connecting
  -n, --ndb=0              Redis database to access
      --tls                Enable TLS/SSL
      --skipverify         Insecure option to skip server certificate validation
      --certfile=CERTFILE  Self-signed certificate file for validation
      --certb64=CERTB64    Self-signed certificate string as base64 for validation
      --raw                Produce raw output
      --eval=EVAL          Evaluate a Lua script file, follow with keys a , and args
      
Args:
  [<commands>]  Redis commands and values

e.g. INFO KEYSPACE

Be aware of interactions with wild cards and special characters in the shell; quote and escape as appropriate.

License

Redli is (c) IBM Corporation 2018. All rights reserved.

Redli is released under the Apache 2 License.

Attribution: The commands.json file is by Salvatore Sanfillipo.

In the process of building the application, the commands.json file of the Redis-docs repository is retrieved and incorporated into the code. This file is distributed under a CC-BY-SA 4.0 license (see Copyright).

You can’t perform that action at this time.