thesecretmaster / predis-v0

Like redis, but parallel and written from scratch for fun!
GNU General Public License v3.0
1 stars 0 forks source link

Build a basic command line feature #3

Closed thesecretmaster closed 5 years ago

thesecretmaster commented 5 years ago

I'd like to integrate the readline library so that we can do manual testing before we have a networking layer set up. It'd be a little prompt where you could run commands like set <idx/key> <value> and get <idx/key>.

thesecretmaster commented 5 years ago

This isn't quite done, because it's not going to look the way I want until we've implemented #4. Current syntax is like so:

> store int <number>
DONE: <index>
> get int <index>
DONE: <number>