root

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractSubCommandNames

func ExtractSubCommandNames(cmds []*cobra.Command) []string

ExtractSubCommandNames extracts the names of all sub commands of a given command

func NewRootCommand

func NewRootCommand(helpFuncs *template.FuncMap) (*cobra.Command, error)

NewRootCommand creates the default `kn` command with a default plugin handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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