Step 6 - Challenge: Adding More Commands
In this step your goal is to add support for the commands:
EXISTS - check if a key is present.
DEL - delete one or more keys.
INCR - increment a stored number by one.
DECR - decrement a stored number by one.
LPUSH - insert all the values at the head of a list.
RPUSH - insert all the values at the tail of a list.
LRANGE - get the specified elements of the list stored at the supplied key.
Once you’ve built and tested all these operations you will have built a lite version of Redis that has all the functionality of the first actual version of Redis!