summaryrefslogtreecommitdiff
path: root/cmd/podman/generate.go
blob: 20a4a61abe002b1a000dff50bba1df5565ffc5cd (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/urfave/cli"
)

var (
	generateSubCommands = []cli.Command{
		containerKubeCommand,
	}

	generateDescription = "Generate structured data based for a containers and pods"
	kubeCommand         = cli.Command{
		Name:                   "generate",
		Usage:                  "Generate structured data",
		Description:            generateDescription,
		ArgsUsage:              "",
		Subcommands:            generateSubCommands,
		UseShortOptionHandling: true,
		OnUsageError:           usageErrorHandler,
		Hidden:                 true,
	}
)