Why I use redis-cli(official version) to connect my server it doesnt't echo ">"?

image

image

my github repo: GitHub - mmjwxbc/build-your-own-redis

I can only speak for valkey-cli, but the behavior should be the same across all clients. When you run it without arguments, it sends a COMMAND DOCS (COMMAND DOCS | Docs) request to your program. If your program doesn’t handle that request, the connection won’t work as intended

Thank you very much! It works