summaryrefslogtreecommitdiff
path: root/cmd/podman/generate.go
blob: 765d0ee70195c9b9badce524f859643f6154ac68 (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:                  "generated structured data",
		Description:            generateDescription,
		ArgsUsage:              "",
		Subcommands:            generateSubCommands,
		UseShortOptionHandling: true,
		OnUsageError:           usageErrorHandler,
		Hidden:                 true,
	}
)