1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-12-18 07:52:01 +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)