Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/ACL_GENPASS.js
2025-11-11 12:36:06 +07:00

19 lines
552 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Generates a secure password for ACL users
* @param parser - The Redis command parser
* @param bits - Optional number of bits for password entropy
*/
parseCommand(parser, bits) {
parser.push('ACL', 'GENPASS');
if (bits) {
parser.push(bits.toString());
}
},
transformReply: undefined
};
//# sourceMappingURL=ACL_GENPASS.js.map