cmd

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrValidation = errors.New("validation error")
)

Functions

func Execute

func Execute(info Info)

Execute the root command.

Types

type CleanWGETConfig

type CleanWGETConfig struct {
	Path string
	NoOp bool
}

func (*CleanWGETConfig) BindArgs

func (c *CleanWGETConfig) BindArgs(args []string) error

func (*CleanWGETConfig) BindFlags

func (c *CleanWGETConfig) BindFlags(cmd *cobra.Command)

func (*CleanWGETConfig) Validate

func (c *CleanWGETConfig) Validate() error

type Info

type Info struct {
	Version string
	Commit  string
	Date    string
	BuiltBy string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL