2014-08-25 10:18:23 +04:00
|
|
|
//This file was generated by ./generate.py on Fri Aug 22 2014 14:32:10 +0800
|
2014-07-18 08:20:25 +04:00
|
|
|
package main
|
|
|
|
|
|
|
|
var helpCommands = [][]string{
|
2014-08-15 13:30:15 +04:00
|
|
|
{"BCOUNT", "key [start end]", "Bitmap"},
|
|
|
|
{"BDELETE", "key", "ZSet"},
|
2014-08-25 10:18:23 +04:00
|
|
|
{"BEGIN", "-", "Transaction"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"BEXPIRE", "key seconds", "Bitmap"},
|
|
|
|
{"BEXPIREAT", "key timestamp", "Bitmap"},
|
|
|
|
{"BGET", "key", "Bitmap"},
|
|
|
|
{"BGETBIT", "key offset", "Bitmap"},
|
|
|
|
{"BMSETBIT", "key offset value [offset value ...]", "Bitmap"},
|
|
|
|
{"BOPT", "operation destkey key [key ...]", "Bitmap"},
|
|
|
|
{"BPERSIST", "key", "Bitmap"},
|
|
|
|
{"BSETBIT", "key offset value", "Bitmap"},
|
|
|
|
{"BTTL", "key", "Bitmap"},
|
2014-08-25 10:18:23 +04:00
|
|
|
{"COMMIT", "-", "Transaction"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"DECR", "key", "KV"},
|
|
|
|
{"DECRBY", "key decrement", "KV"},
|
|
|
|
{"DEL", "key [key ...]", "KV"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"ECHO", "message", "Server"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"EXISTS", "key", "KV"},
|
2014-07-22 18:20:04 +04:00
|
|
|
{"EXPIRE", "key seconds", "KV"},
|
|
|
|
{"EXPIREAT", "key timestamp", "KV"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"FULLSYNC", "-", "Replication"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"GET", "key", "KV"},
|
|
|
|
{"GETSET", " key value", "KV"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"HCLEAR", "key", "Hash"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"HDEL", "key field [field ...]", "Hash"},
|
|
|
|
{"HEXISTS", "key field", "Hash"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"HEXPIRE", "key seconds", "Hash"},
|
|
|
|
{"HEXPIREAT", "key timestamp", "Hash"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"HGET", "key field", "Hash"},
|
|
|
|
{"HGETALL", "key", "Hash"},
|
|
|
|
{"HINCRBY", "key field increment", "Hash"},
|
|
|
|
{"HKEYS", "key", "Hash"},
|
|
|
|
{"HLEN", "key", "Hash"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"HMCLEAR", "key [key ...]", "Hash"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"HMGET", "key field [field ...]", "Hash"},
|
|
|
|
{"HMSET", "key field value [field value ...]", "Hash"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"HPERSIST", "key", "Hash"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"HSET", "key field value", "Hash"},
|
|
|
|
{"HTTL", "key", "Hash"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"HVALS", "key", "Hash"},
|
|
|
|
{"INCR", "key", "KV"},
|
|
|
|
{"INCRBY", "key increment", "KV"},
|
|
|
|
{"LCLEAR", "key", "List"},
|
|
|
|
{"LEXPIRE", "key seconds", "List"},
|
|
|
|
{"LEXPIREAT", "key timestamp", "List"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"LINDEX", "key index", "List"},
|
|
|
|
{"LLEN", "key", "List"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"LMCLEAR", "key [key ...]", "List"},
|
|
|
|
{"LPERSIST", "key", "List"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"LPOP", "key", "List"},
|
|
|
|
{"LPUSH", "key value [value ...]", "List"},
|
|
|
|
{"LRANGE", "key start stop", "List"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"LTTL", "key", "List"},
|
|
|
|
{"MGET", "key [key ...]", "KV"},
|
|
|
|
{"MSET", "key value [key value ...]", "KV"},
|
|
|
|
{"PERSIST", "key", "KV"},
|
|
|
|
{"PING", "-", "Server"},
|
2014-08-25 10:18:23 +04:00
|
|
|
{"ROLLBACK", "-", "Transaction"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"RPOP", "key", "List"},
|
|
|
|
{"RPUSH", "key value [value ...]", "List"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"SADD", "key member [member ...]", "Set"},
|
|
|
|
{"SCARD", "key", "Set"},
|
|
|
|
{"SCLEAR", "key", "Set"},
|
|
|
|
{"SDIFF", "key [key ...]", "Set"},
|
|
|
|
{"SDIFFSTORE", "destination key [key ...]", "Set"},
|
|
|
|
{"SELECT", "index", "Server"},
|
|
|
|
{"SET", "key value", "KV"},
|
|
|
|
{"SETNX", "key value", "KV"},
|
|
|
|
{"SEXPIRE", "key seconds", "Set"},
|
|
|
|
{"SEXPIREAT", "key timestamp", "Set"},
|
|
|
|
{"SINTER", "key [key ...]", "Set"},
|
|
|
|
{"SINTERSTORE", "destination key [key ...]", "Set"},
|
|
|
|
{"SISMEMBER", "key member", "Set"},
|
|
|
|
{"SLAVEOF", "host port", "Replication"},
|
|
|
|
{"SMCLEAR", "key [key ...]", "Set"},
|
|
|
|
{"SMEMBERS", "key", "Set"},
|
|
|
|
{"SPERSIST", "key", "Set"},
|
|
|
|
{"SREM", "key member [member ...]", "Set"},
|
|
|
|
{"STTL", "key", "Set"},
|
|
|
|
{"SUNION", "key [key ...]", "Set"},
|
|
|
|
{"SUNIONSTORE", "destination key [key ...]", "Set"},
|
|
|
|
{"SYNC", "index offset", "Replication"},
|
|
|
|
{"TTL", "key", "KV"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"ZADD", "key score member [score member ...]", "ZSet"},
|
|
|
|
{"ZCARD", "key", "ZSet"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"ZCLEAR", "key", "ZSet"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"ZCOUNT", "key min max", "ZSet"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"ZEXPIRE", "key seconds", "ZSet"},
|
|
|
|
{"ZEXPIREAT", "key timestamp", "ZSet"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"ZINCRBY", "key increment member", "ZSet"},
|
2014-08-25 10:18:23 +04:00
|
|
|
{"ZINTERSTORE", "destkey numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]", "ZSet"},
|
2014-08-15 13:30:15 +04:00
|
|
|
{"ZMCLEAR", "key [key ...]", "ZSet"},
|
|
|
|
{"ZPERSIST", "key", "ZSet"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"ZRANGE", "key start stop [WITHSCORES]", "ZSet"},
|
|
|
|
{"ZRANGEBYSCORE", "key min max [WITHSCORES] [LIMIT offset count]", "ZSet"},
|
|
|
|
{"ZRANK", "key member", "ZSet"},
|
|
|
|
{"ZREM", "key member [member ...]", "ZSet"},
|
|
|
|
{"ZREMRANGEBYRANK", "key start stop", "ZSet"},
|
|
|
|
{"ZREMRANGEBYSCORE", "key min max", "ZSet"},
|
2014-07-22 18:20:04 +04:00
|
|
|
{"ZREVRANGE", "key start stop [WITHSCORES]", "ZSet"},
|
2014-07-18 08:20:25 +04:00
|
|
|
{"ZREVRANGEBYSCORE", "key max min [WITHSCORES][LIMIT offset count]", "ZSet"},
|
|
|
|
{"ZREVRANK", "key member", "ZSet"},
|
|
|
|
{"ZSCORE", "key member", "ZSet"},
|
|
|
|
{"ZTTL", "key", "ZSet"},
|
2014-08-25 10:18:23 +04:00
|
|
|
{"ZUNIONSTORE", "destkey numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]", "ZSet"},
|
2014-07-18 08:20:25 +04:00
|
|
|
}
|