package main | |
import "github.com/codegangsta/cli" | |
var deleteCommand = cli.Command{ | |
Name: "delete", | |
Usage: "delete any resources held by the container often used with detached containers", | |
Action: func(context *cli.Context) { | |
container, err := getContainer(context) | |
if err != nil { | |
fatal(err) | |
} | |
destroy(container) | |
}, | |
} |