Clear Redis DB - Advance-Technologies-Foundation/clio GitHub Wiki
Short name
flushdb
Description
clear-redis-db
command can be used in CI/CD pipeline or in development when you need forcible clear a web application (website) cache. Be attentive, the command only clear web application cache and doesn't restart it.
Synopsis
clear-redis-db [Name] [options]
Options
Option name | Alias | Description |
---|---|---|
Name (pos. 0) | Application name | |
--uri | -u | Application uri |
--Password | -p | User password |
--Login | -l | User login (administrator permission required) |
--Environment | -e | Environment name |
--Maintainer | -m | Maintainer name |
Examples
Clear current web application(website) cache
clio clear-redis-db
Clear web application(website) cache that registered as a myapp
clio clear-redis-db myapp