DBRedisCli starts a Redis-CLI shell.
()
| 268 | |
| 269 | // DBRedisCli starts a Redis-CLI shell. |
| 270 | func (Dev) DBRedisCli() error { |
| 271 | mg.Deps(Dev.DBStart) |
| 272 | if mg.Verbose() { |
| 273 | fmt.Println("Starting Redis-CLI shell") |
| 274 | } |
| 275 | return execDockerCompose("exec", "redis", "redis-cli") |
| 276 | } |
| 277 | |
| 278 | // InitDeviceRepo initializes the device repository. |
| 279 | func (Dev) InitDeviceRepo() error { |
nothing calls this directly
no test coverage detected