Documentation
¶
Overview ¶
Package update provides configuration and flags for the `godyl update` command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Update ¶
type Update struct {
// Tracker embed the common tracker configuration, allowing to tracker
// whether configuration values have been explicitly set or defaulted
shared.Tracker `mapstructure:"-" yaml:"-"`
// Version is the version to update to
Version string `mapstructure:"version" yaml:"version"`
// Pre indicates whether to allow pre-release versions
Pre bool `mapstructure:"pre" yaml:"pre"`
// Check indicates whether to only check for updates without applying them
Check bool `mapstructure:"check" yaml:"check"`
// Cleanup indicates whether to clean up old versions after updating
Cleanup bool `mapstructure:"cleanup" yaml:"cleanup"`
// Force indicates whether to force the update, ignoring any checks
Force bool `mapstructure:"force" yaml:"force"`
}
Update represents the configuration for the `update` command.
Click to show internal directories.
Click to hide internal directories.