summaryrefslogtreecommitdiff
path: root/cmd/podman/play.go
blob: ff8320a6bf02d2f74b6d8e23d6c3543870bb191d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package main

import (
	"github.com/containers/libpod/cmd/podman/cliconfig"
	"github.com/spf13/cobra"
)

var playCommand cliconfig.PodmanCommand

func init() {
	var playDescription = "Play a pod and its containers from a structured file."
	playCommand.Command = &cobra.Command{
		Use:   "play",
		Short: "Play a pod",
		Long:  playDescription,
	}

}

func init() {
	playCommand.AddCommand(getPlaySubCommands()...)
	rootCmd.AddCommand(playCommand.Command)
}