cli

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandFor

func CommandFor(basename string) *cobra.Command

CommandFor returns the appropriate command for this base name, or the OpenShift CLI command.

func GetCommandGroups added in v0.2.5

func GetCommandGroups(fullName string, f *clientcmd.Factory, in io.Reader, out io.Writer) (
	templates.CommandGroups,
	*cobra.Command)

func NewCmdOptions

func NewCmdOptions(out io.Writer) *cobra.Command

TODO ensure we can limit the number of options

func NewCommandCLI

func NewCommandCLI(name, fullName string, in io.Reader, out, errout io.Writer) *cobra.Command

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