Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 512 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 512 Bytes

redis-cluster-cli

Compile

mvn clean compile assembly:single

Usage

Usage: RedisClusterCli [COMMAND]
Commands:
  flushAll
  scanAllKeys
  generateRandomKeys
  clusterInfo
  clusterNodes

Execute

java -jar target/redis-cluster-cli-1.0-SNAPSHOT-jar-with-dependencies.jar

java -jar target/redis-cluster-cli-1.0-SNAPSHOT-jar-with-dependencies.jar flushAll -h localhost -p 6379 

java -jar target/redis-cluster-cli-1.0-SNAPSHOT-jar-with-dependencies.jar scanAllKeys