Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PersistentPreRunE func(*cobra.Command, []string) error
PersistentPreRunE must be called by any plugin command (or subcommand) which uses the cobra `PersistentPreRun*` hook. Plugins which do not make use of `PersistentPreRun*` do not need to call this (although it remains safe to do so). Plugins are recommended to use `PersistenPreRunE` to enable the error to be returned. Should not be called outside of a command's PersistentPreRunE hook and must not be run unless Run has been called.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.