upgrade

package
v0.0.0-...-7754ea6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*common.BaseCommand
	// contains filtered or unexported fields
}

func (*Command) AutocompleteArgs

func (c *Command) AutocompleteArgs() complete.Predictor

AutocompleteArgs returns the argument predictor for this command. Since argument completion is not supported, this will return complete.PredictNothing.

func (*Command) AutocompleteFlags

func (c *Command) AutocompleteFlags() complete.Flags

AutocompleteFlags returns a mapping of supported flags and autocomplete options for this command. The map key for the Flags map should be the complete flag such as "-foo" or "--foo".

func (*Command) Help

func (c *Command) Help() string

Help returns a description of the command and how it is used.

func (*Command) Run

func (c *Command) Run(args []string) int

func (*Command) Synopsis

func (c *Command) Synopsis() string

Synopsis returns a one-line command summary.

Jump to

Keyboard shortcuts

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