1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03:00
cheat.sh/bin/clean_cache.py

8 lines
134 B
Python
Raw Normal View History

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