• michael-grunder's avatar
    Create PUSH handlers in redis-cli · 81879bc1
    michael-grunder authored
    Add logic to redis-cli to display RESP3 PUSH messages when we detect
    STDOUT is a tty, with an optional command-line argument to override
    the default behavior.
    
    The new argument:  --show-pushes <yn>
    
    Examples:
    
    $ redis-cli -3 --show-pushes no
    $ echo "client tracking on\nget k1\nset k1 v1"| redis-cli -3 --show-pushes y
    81879bc1
redis-cli.c 302 KB