1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/lib/commands/INFO.ts
2021-07-13 19:35:07 -04:00

16 lines
323 B
TypeScript

import { transformReplyString } from './generic-transformers';
export const IS_READ_ONLY = true;
export function transformArguments(section?: string): Array<string> {
const args = ['INFO'];
if (section) {
args.push(section);
}
return args;
}
export const transformReply = transformReplyString;