inveniosoftware / inveniosoftware/invenio-cli
setup: delegate redis flush command
Open
good first issue
- Dominant language
- Python
- Stars
- 14
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Create a CLI command to *flush redis* in the appropriate module (invenio-app?).
Currently we are using:
``` console
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`.
Contributor guide
Assessment
This issue has not been assessed yet.