summaryrefslogtreecommitdiff
path: root/cmd/podman/image.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/image.go')
-rw-r--r--cmd/podman/image.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/cmd/podman/image.go b/cmd/podman/image.go
new file mode 100644
index 000000000..5deea5c74
--- /dev/null
+++ b/cmd/podman/image.go
@@ -0,0 +1,32 @@
+package main
+
+import (
+ "github.com/urfave/cli"
+)
+
+var (
+ imageSubCommands = []cli.Command{
+ buildCommand,
+ historyCommand,
+ importCommand,
+ inspectCommand,
+ loadCommand,
+ lsImagesCommand,
+ // pruneCommand,
+ pullCommand,
+ pushCommand,
+ rmImageCommand,
+ saveCommand,
+ tagCommand,
+ }
+
+ imageDescription = "Manage images"
+ imageCommand = cli.Command{
+ Name: "image",
+ Usage: "image COMMAND",
+ Description: imageDescription,
+ ArgsUsage: "",
+ Subcommands: imageSubCommands,
+ UseShortOptionHandling: true,
+ }
+)