CLI interface for myredis. Compatible with original Redis
- Clone repo
git clone [email protected]:KrySeyt/myrediscli.git && cd myrediscli
- Build app
dotnet build --configuration Release
- Start app
./main/bin/Release/net8.0/main ping
Flags:
-p
--port
- port of Redis server. Default6379
-h
--host
- host of Redis server. Defaultlocalhost
./main get foo
./main set foo bar
./main set foo bar px 1000
./main wait 3 1000
./main ping
./main echo "Hello, World\!"
./main wait 3 1000
./main config get <param-name> // e.g. port or dbfilename
- String
- BulkString (server responses only)
- Array of BulkStrings (server responses only)
- Integer (server responses only)
- Null (server responses only)