Files
podman/cmd/podman/play.go
baude 9b03cacc87 Add Play
podman play kube adds the ability for the user to recreate pods and containers
from a Kubernetes YAML file in libpod.

Signed-off-by: baude <bbaude@redhat.com>
2018-12-19 14:20:55 -06:00

24 lines
538 B
Go

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,
}
)