summaryrefslogtreecommitdiff
path: root/cmd/podman/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/container.go')
-rw-r--r--cmd/podman/container.go45
1 files changed, 45 insertions, 0 deletions
diff --git a/cmd/podman/container.go b/cmd/podman/container.go
new file mode 100644
index 000000000..c8ad8e04d
--- /dev/null
+++ b/cmd/podman/container.go
@@ -0,0 +1,45 @@
+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,
+ }
+)