flags

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 7 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