cli

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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