Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPluginNewer = errors.New("installed plugin is newer than the candidate")
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { LocalFile bool `short:"f" help:"If set, treat the plugin-name arg as the path to a local file"` Registry string `short:"r" default:"default" help:"The name of the registry to install the plugin from"` PluginVersion string `help:"The version to install from the registry. Ignored if --local-file is set"` AllowDowngrades bool `default:"false" help:"If set, allow an upgrade even if the new version is lower than the installed version"` Install bool `default:"false" help:"If set, install the plugin if the plugin isn't already installed"` PluginName string `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.