Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { // Name of the binary using this command. BinName string // Target version to upgrade to. NewVersion semver.Version // Hook ran before command. Errors are logged and abort the execution. PreHook func(fsdir.T) error // Hook ran after command. Errors are logged and abort the execution. PostHook func(fsdir.T) error }
Context used by some commonsub commands for customization.
Click to show internal directories.
Click to hide internal directories.