obukhov / redis-inventory

CLI tool to see redis memory usage by keys in hierarchical way. Think of disk inventory but for redis.
MIT License
237 stars 31 forks source link

Add tls and filename for index file #69

Open angaz opened 2 years ago

angaz commented 2 years ago

Added support for TLS. Added --tls flag which copies the way redis-cli works.

Also added a flag to place the index file in a specified filename. I needed this because I ran the tool for multiple clusters at the same time.

I also moved up creating the file because once it ran for about an hour and then couldn't create the file. So now it will fail earlier.

I couldn't decide where to put the new flags that I added, so I sorted the flags by name.