diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-20 05:41:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 05:41:38 -0800 |
commit | 2de6cadd6f81b69f33485e4d4601606afbefd748 (patch) | |
tree | d2b9e118ecd2c43bd18c90ac7f4730018a559d51 /cmd/podman/play.go | |
parent | 2e9952c4240319d8aeeefad10c07d842e7b01765 (diff) | |
parent | 9b03cacc87c4d59fc301c21ef73ddc301ec753fb (diff) | |
download | podman-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.go | 23 |
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, + } +) |