cmd

package
v0.0.0-...-8bbc6b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RootCmd is the main command
	RootCmd = &cobra.Command{
		Use:   "openshift-git",
		Short: "Import/Export OpenShift resources from/to a Git repository",
		Long: `openshift-git is a standalone OpenShift Client which helps you export/import OpenShift resources to/from a Git repository.

Run either of the following commands to see the usage:
$ openshift-git export --help
$ openshift-git import --help

More informations at https://github.com/vbehar/openshift-git`,
		Run: RunHelp,
	}
)

Functions

func FullName

func FullName(cmd *cobra.Command) string

FullName returns the full name of the given command, which is the concatenation of all the names of all the parents commands example: "top-cmd sub-cmd sub-sub-cmd"

func RunHelp

func RunHelp(cmd *cobra.Command, args []string)

RunHelp is a Command "Run" compatible function that just prints the command's help to stdout

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL