1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

enabled adding abritary commands

added test and add_command alias

original and special char commands

tweaked code spacing
This commit is contained in:
Kyle Davis
2016-11-17 15:13:57 -05:00
committed by Ruben Bridgewater
parent 4f7f1adf50
commit 0437aa4985
3 changed files with 55 additions and 9 deletions

View File

@@ -1100,4 +1100,6 @@ exports.AggregateError = errorClasses.AggregateError;
// Add all redis commands / node_redis api to the client
require('./lib/individualCommands');
require('./lib/extendedApi');
require('./lib/commands');
//enables adding new commands (for modules and new commands)
exports.addCommand = exports.add_command = require('./lib/commands');