summaryrefslogtreecommitdiff
path: root/cmd/podman/generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/generate.go')
-rw-r--r--cmd/podman/generate.go32
1 files changed, 0 insertions, 32 deletions
diff --git a/cmd/podman/generate.go b/cmd/podman/generate.go
deleted file mode 100644
index 196556bc5..000000000
--- a/cmd/podman/generate.go
+++ /dev/null
@@ -1,32 +0,0 @@
-package main
-
-import (
- "github.com/containers/libpod/cmd/podman/cliconfig"
- "github.com/spf13/cobra"
-)
-
-var (
- generateCommand cliconfig.PodmanCommand
- generateDescription = "Generate structured data based for a containers and pods"
- _generateCommand = &cobra.Command{
- Use: "generate",
- Short: "Generated structured data",
- Long: generateDescription,
- RunE: commandRunE(),
- }
-
- // Commands that are universally implemented
- generateCommands = []*cobra.Command{
- _containerKubeCommand,
- }
-)
-
-func init() {
- // Systemd-service generation is not supported for remote-clients.
- if !remoteclient {
- generateCommands = append(generateCommands, _containerSystemdCommand)
- }
- generateCommand.Command = _generateCommand
- generateCommand.AddCommand(generateCommands...)
- generateCommand.SetUsageTemplate(UsageTemplate())
-}