Help us shape the future of Go! Take the 2026 Go Developer Survey

flags

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddShellCompletion added in v0.3.0

func AddShellCompletion(pflag *pflag.Flag, shellfunction string)

AddShellCompletion add a hint to the cobra flag annotation for how to do a completion

func AddTektonOptions

func AddTektonOptions(cmd *cobra.Command)

AddTektonOptions amends command to add flags required to initialise a cli.Param

func InitParams

func InitParams(p cli.Params, cmd *cobra.Command) error

InitParams initialises cli.Params based on flags defined in command

Types

This section is empty.

Jump to

Keyboard shortcuts

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