refactor: call golang version of docker cleanup from shell
This ensures there is only a single implementation.
This commit is contained in:
@@ -19,6 +19,10 @@ func main() {
|
||||
|
||||
var err error
|
||||
switch cmd {
|
||||
case "docker-cleanup":
|
||||
appName := flag.Arg(1)
|
||||
force := common.ToBool(flag.Arg(2))
|
||||
err = common.DockerCleanup(appName, force)
|
||||
case "is-deployed":
|
||||
appName := flag.Arg(1)
|
||||
if !common.IsDeployed(appName) {
|
||||
|
||||
Reference in New Issue
Block a user