Documentation ¶
Overview ¶
Package cmdstate manages a running command state (the exit status).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf prints the formatted message on os.Stderr and set the exit status to 1.
func Exit ¶
func Exit()
Exit calls os.Exit with the exit status as set by SetExitStatus. It calls all the function registered by AtExit in FIFO order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.