cli

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const OdoRecommendedName = "odo"

OdoRecommendedName is the recommended odo command name

Variables

This section is empty.

Functions

func NewCmdOdo

func NewCmdOdo(name, fullName string) *cobra.Command

NewCmdOdo creates a new root command for odo

func ShowHelp added in v1.0.0

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

ShowHelp will show the help correctly (and whether or not the command is invalid...) Taken from: https://github.com/cppforlife/knctl/blob/612840d3c9729b1c57b20ca0450acab0d6eceeeb/pkg/knctl/cmd/knctl.go#L71

func ShowSubcommands added in v1.0.0

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

ShowSubcommands shows all available subcommands. Adapted from: https://github.com/cppforlife/knctl/blob/612840d3c9729b1c57b20ca0450acab0d6eceeeb/pkg/knctl/cmd/knctl.go#L224

Types

This section is empty.

Jump to

Keyboard shortcuts

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