cmdutil

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitWithError

func ExitWithError(err error)

ExitWithError allows exiting the command execution with a specific error

func ExitWithMessage

func ExitWithMessage(message string)

ExitWithMessage allows exiting the command execution with a specific message

func PostRun

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

PostRun holds the standard things that should run after each command is executed.

func PreRun

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

PreRun holds the standard things that should run before each command is executed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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