cmdutils

package
v2.16.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SilenceUsageCommand

func SilenceUsageCommand() func(cmd *cobra.Command, args []string)

SilenceUsageCommand gives back a command that is just configured to skip printing of usage info. We use it as a PreRun hook to enforce the behavior of printing usage info when the command structure given by the user is faulty

Types

This section is empty.

Jump to

Keyboard shortcuts

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