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
128 B
Python
Raw Permalink Normal View History

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