Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvokeParentPersistentPreRun ¶
InvokeParentPersistentPreRun executes the immediate parent command's PersistentPreRunE and PersistentPreRun functions, in that order. If an error is returned from PersistentPreRunE, it is immediately returned.
TODO: reverse walk up command tree? would need to ensure no one parent is invoked multiple times.
Types ¶
type NoopWriter ¶
type NoopWriter struct{}
NoopWriter is an implementation of the standard Writer which takes no action upon being asked to write.
Click to show internal directories.
Click to hide internal directories.