install

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPluginAlreadyInstalled = errors.New("plugin already installed")

Functions

This section is empty.

Types

type Command

type Command struct {
	LocalFile     bool   `short:"f" help:"If true, 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"`
	PluginName    string `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Command) BeforeApply

func (i *Command) BeforeApply(ctx *kong.Context) error

func (*Command) Run

func (i *Command) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL