1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-12-12 16:04:57 +03:00
cheat.sh/bin/clean_cache.py
2017-05-08 21:21:19 +00:00

8 lines
134 B
Python

import sys
import redis
REDIS = redis.StrictRedis(host='localhost', port=6379, db=0)
for key in sys.argv[1:]:
REDIS.delete(key)