Documentation ¶
Overview ¶
Package util provides common utilities for spf13/cobra CLI utilities that can be used for various commands within this project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustBindPFlag ¶
MustBindPFlag attempts to bind a specific key to a pflag (as used by cobra) and panics if the binding fails with a non-nil error.
func MustMarkFlagRequired ¶
MustMarkFlagRequired attempts to mark a cmd flag as required. Panics if the command fails with a non-nil error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.