ledisdb/cmd/ledis-cli/const.go

144 lines
5.8 KiB
Go
Raw Normal View History

//This file was generated by .tools/generate_commands.py on Sat Oct 28 2017 18:15:49 -0500
2014-07-18 08:20:25 +04:00
package main
var helpCommands = [][]string{
2015-02-06 04:20:03 +03:00
{"APPEND", "key value", "KV"},
{"BITCOUNT", "key [start] [end]", "KV"},
{"BITOP", "operation destkey key [key ...]", "KV"},
{"BITPOS", "key bit [start] [end]", "KV"},
2014-10-17 07:41:15 +04:00
{"BLPOP", "key [key ...] timeout", "List"},
{"BRPOP", "key [key ...] timeout", "List"},
2015-03-04 04:15:28 +03:00
{"CONFIG GET", "parameter", "Server"},
2014-10-08 12:39:14 +04:00
{"CONFIG REWRITE", "-", "Server"},
2014-07-18 08:20:25 +04:00
{"DECR", "key", "KV"},
{"DECRBY", "key decrement", "KV"},
{"DEL", "key [key ...]", "KV"},
2014-11-27 09:03:44 +03:00
{"DUMP", "key", "KV"},
2014-08-15 13:30:15 +04:00
{"ECHO", "message", "Server"},
2014-09-02 18:36:50 +04:00
{"EVAL", "script numkeys key [key ...] arg [arg ...]", "Script"},
{"EVALSHA", "sha1 numkeys key [key ...] arg [arg ...]", "Script"},
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"},
{"FLUSHALL", "-", "Server"},
{"FLUSHDB", "-", "Server"},
2014-10-17 07:41:15 +04:00
{"FULLSYNC", "[NEW]", "Replication"},
2014-07-18 08:20:25 +04:00
{"GET", "key", "KV"},
2015-02-06 04:20:03 +03:00
{"GETBIT", "key offset", "KV"},
{"GETRANGE", "key start end", "KV"},
2014-07-18 08:20:25 +04:00
{"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"},
2014-11-27 09:03:44 +03:00
{"HDUMP", "key", "Hash"},
2014-07-18 08:20:25 +04:00
{"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"},
{"HKEYEXISTS", "key", "Hash"},
2014-07-18 08:20:25 +04:00
{"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"},
{"HSCAN", "key cursor [MATCH match] [COUNT count] [ASC|DESC]", "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"},
{"INFO", "[section]", "Server"},
2014-08-15 13:30:15 +04:00
{"LCLEAR", "key", "List"},
2014-11-27 09:03:44 +03:00
{"LDUMP", "key", "List"},
2014-08-15 13:30:15 +04:00
{"LEXPIRE", "key seconds", "List"},
{"LEXPIREAT", "key timestamp", "List"},
2014-07-18 08:20:25 +04:00
{"LINDEX", "key index", "List"},
{"LKEYEXISTS", "key", "List"},
2014-07-18 08:20:25 +04:00
{"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-11-27 09:03:44 +03:00
{"RESTORE", "key ttl value", "Server"},
2015-02-03 09:22:12 +03:00
{"ROLE", "-", "Server"},
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"},
2014-09-02 18:36:50 +04:00
{"SCRIPT EXISTS", "script [script ...]", "Script"},
{"SCRIPT FLUSH", "-", "Script"},
{"SCRIPT LOAD", "script", "Script"},
2014-08-15 13:30:15 +04:00
{"SDIFF", "key [key ...]", "Set"},
{"SDIFFSTORE", "destination key [key ...]", "Set"},
2014-11-27 09:03:44 +03:00
{"SDUMP", "key", "Set"},
2014-08-15 13:30:15 +04:00
{"SELECT", "index", "Server"},
{"SET", "key value", "KV"},
2015-02-06 04:20:03 +03:00
{"SETBIT", "key offset value", "KV"},
2014-10-26 10:15:43 +03:00
{"SETEX", "key seconds value", "KV"},
2014-08-15 13:30:15 +04:00
{"SETNX", "key value", "KV"},
2015-02-06 04:20:03 +03:00
{"SETRANGE", "key offset value", "KV"},
2014-08-15 13:30:15 +04:00
{"SEXPIRE", "key seconds", "Set"},
{"SEXPIREAT", "key timestamp", "Set"},
{"SINTER", "key [key ...]", "Set"},
{"SINTERSTORE", "destination key [key ...]", "Set"},
{"SISMEMBER", "key member", "Set"},
{"SKEYEXISTS", "key", "Set"},
2014-10-10 05:49:16 +04:00
{"SLAVEOF", "host port [RESTART] [READONLY]", "Replication"},
2014-08-15 13:30:15 +04:00
{"SMCLEAR", "key [key ...]", "Set"},
{"SMEMBERS", "key", "Set"},
{"SPERSIST", "key", "Set"},
{"SREM", "key member [member ...]", "Set"},
{"SSCAN", "key cursor [MATCH match] [COUNT count] [ASC|DESC]", "Set"},
2015-02-06 04:20:03 +03:00
{"STRLEN", "key", "KV"},
2014-08-15 13:30:15 +04:00
{"STTL", "key", "Set"},
{"SUNION", "key [key ...]", "Set"},
{"SUNIONSTORE", "destination key [key ...]", "Set"},
2014-09-29 10:19:42 +04:00
{"SYNC", "logid", "Replication"},
2014-10-08 09:55:46 +04:00
{"TIME", "-", "Server"},
2014-08-15 13:30:15 +04:00
{"TTL", "key", "KV"},
2015-03-05 10:49:15 +03:00
{"XHSCAN", "key cursor [MATCH match] [COUNT count] [ASC|DESC]", "Hash"},
{"XLSORT", "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]", "List"},
{"XSCAN", "type cursor [MATCH match] [COUNT count] [ASC|DESC]", "Server"},
{"XSSCAN", "key cursor [MATCH match] [COUNT count] [ASC|DESC]", "Set"},
{"XSSORT", "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]", "Set"},
{"XZSCAN", "key cursor [MATCH match] [COUNT count] [ASC|DESC]", "ZSet"},
{"XZSORT", "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]", "ZSet"},
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-11-27 09:03:44 +03:00
{"ZDUMP", "key", "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"},
2015-03-05 10:49:15 +03:00
{"ZKEYEXISTS", "key", "ZSet"},
2014-10-02 11:41:06 +04:00
{"ZLEXCOUNT", "key 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"},
2014-10-02 11:41:06 +04:00
{"ZRANGEBYLEX", "key min max [LIMIT offset count]", "ZSet"},
2014-07-18 08:20:25 +04:00
{"ZRANGEBYSCORE", "key min max [WITHSCORES] [LIMIT offset count]", "ZSet"},
{"ZRANK", "key member", "ZSet"},
{"ZREM", "key member [member ...]", "ZSet"},
2014-10-02 11:41:06 +04:00
{"ZREMRANGBYLEX", "key min max", "ZSet"},
2014-07-18 08:20:25 +04:00
{"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"},
{"ZSCAN", "key cursor [MATCH match] [COUNT count] [ASC|DESC]", "ZSet"},
2014-07-18 08:20:25 +04:00
{"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
}