cmd

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: BSD-2-Clause, CC0-1.0, Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version, Commit, Date string
)

versionCmd represents the version command

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type StringsValue

type StringsValue struct {
	// contains filtered or unexported fields
}

StringsValue implements the flag.Value interface and allows multiple calls to the same variable to append a list.

func (*StringsValue) Set

func (s *StringsValue) Set(value string) error

func (*StringsValue) String

func (s *StringsValue) String() string

func (*StringsValue) Type

func (s *StringsValue) Type() string

Jump to

Keyboard shortcuts

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