aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/play.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-20 05:41:38 -0800
committerGitHub <noreply@github.com>2018-12-20 05:41:38 -0800
commit2de6cadd6f81b69f33485e4d4601606afbefd748 (patch)
treed2b9e118ecd2c43bd18c90ac7f4730018a559d51 /cmd/podman/play.go
parent2e9952c4240319d8aeeefad10c07d842e7b01765 (diff)
parent9b03cacc87c4d59fc301c21ef73ddc301ec753fb (diff)
downloadpodman-2de6cadd6f81b69f33485e4d4601606afbefd748.tar.gz
podman-2de6cadd6f81b69f33485e4d4601606afbefd748.tar.bz2
podman-2de6cadd6f81b69f33485e4d4601606afbefd748.zip
Merge pull request #1967 from baude/kubereplay
Add Play
Diffstat (limited to 'cmd/podman/play.go')
-rw-r--r--cmd/podman/play.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/cmd/podman/play.go b/cmd/podman/play.go
new file mode 100644
index 000000000..adbab3480
--- /dev/null
+++ b/cmd/podman/play.go
@@ -0,0 +1,23 @@
+package main
+
+import (
+ "github.com/urfave/cli"
+)
+
+var (
+ playSubCommands = []cli.Command{
+ playKubeCommand,
+ }
+
+ playDescription = "Play a pod and its containers from a structured file."
+ playCommand = cli.Command{
+ Name: "play",
+ Usage: "play a container or pod",
+ Description: playDescription,
+ ArgsUsage: "",
+ Subcommands: playSubCommands,
+ UseShortOptionHandling: true,
+ OnUsageError: usageErrorHandler,
+ Hidden: true,
+ }
+)