Open ppanero opened 4 years ago
Create a CLI command to flush redis in the appropriate module (invenio-app?).
Currently we are using:
invenio shell --no-term-title -c "import redis; redis.StrictRedis.from_url(app.config['CACHE_REDIS_URL']).flushall(); print('Cache cleared')"
As a single command, however this should be delegate and run something similar to invenio redis flush.
invenio redis flush
Should it be delegated because it causes issues when ran under Popen and such? It would be very minor...
Create a CLI command to flush redis in the appropriate module (invenio-app?).
Currently we are using:
As a single command, however this should be delegate and run something similar to
invenio redis flush
.