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

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

var generateDescription = "Generate structured data based for a containers and pods"
var generateCommand = cliconfig.PodmanCommand{

	Command: &cobra.Command{
		Use:   "generate",
		Short: "Generated structured data",
		Long:  generateDescription,
	},
}

func init() {
	generateCommand.AddCommand(getGenerateSubCommands()...)
	rootCmd.AddCommand(generateCommand.Command)
}