add

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddCommand

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

Types

type Flags

type Flags struct {
	Repo      string `mapstructure:"repo"`
	PluginDir string `mapstructure:"plugin-dir"`
	Version   string `mapstructure:"version"`
	Global    bool   `mapstructure:"global"`
}

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(args []string) error

func (*Options) Validate

func (o *Options) Validate(args []string) error

Jump to

Keyboard shortcuts

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