template

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Usage is the cobra UsageTemplate for Hubble CLI.
	Usage = `` /* 841-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func Initialize added in v0.11.0

func Initialize()

Initialize goes through the registered commands, and their flagsets and initializes the help template command registry.

This must be called after all commands are added as sub-commands, because cmd.CommandPath relies on the commands having parents.

func RegisterFlagSets added in v0.10.0

func RegisterFlagSets(cmd *cobra.Command, flagsets ...*pflag.FlagSet)

RegisterFlagSets registers flags to be included in a commands usage text (--help).

Types

This section is empty.

Jump to

Keyboard shortcuts

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