optionals

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOptionalsCommand

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

Types

type Flags added in v0.0.2

type Flags struct {
	PluginDir   string   `mapstructure:"plugin-dir"`
	SkipPlugins []string `mapstructure:"skip-plugins"`
}

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