spiegel_podman/cmd/podman/container.go
Daniel J Walsh 65033b586f add podman container and image command
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #941
Approved by: TomSweeneyRedHat
2018-06-13 14:30:45 +00:00

45 lines
815 B
Go

package main
import (
"github.com/urfave/cli"
)
var (
subCommands = []cli.Command{
attachCommand,
commitCommand,
createCommand,
diffCommand,
execCommand,
exportCommand,
inspectCommand,
killCommand,
logsCommand,
lsCommand,
mountCommand,
pauseCommand,
portCommand,
// pruneCommand,
restartCommand,
rmCommand,
runCommand,
startCommand,
statsCommand,
stopCommand,
topCommand,
umountCommand,
unpauseCommand,
// updateCommand,
waitCommand,
}
containerDescription = "Manage containers"
containerCommand = cli.Command{
Name: "container",
Usage: "container COMMAND",
Description: containerDescription,
ArgsUsage: "",
Subcommands: subCommands,
UseShortOptionHandling: true,
}
)