list

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewListCommand

func NewListCommand(f *flags.GlobalFlags) *cobra.Command

Types

type AvailablePlugins

type AvailablePlugins struct {
	Name             string
	ShortDescription string
	Description      string
	Versions         []string
}

type Flags

type Flags struct {
	Repo      string `mapstructure:"repo"`
	Installed bool   `mapstructure:"installed"`
	PluginDir string `mapstructure:"plugin-dir"`
	Params    bool   `mapstructure:"params"`
	Name      string `mapstructure:"name"`
	Versions  bool   `mapstructure:"versions"`
}

type Options

type Options struct {
	Flags
	// contains filtered or unexported fields
}

func (*Options) Complete

func (o *Options) Complete(c *cobra.Command, args []string) error

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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