version

package
v2.1.155 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdVersion

func NewCmdVersion(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdVersion creates the version command

Types

type Options

type Options struct {
	*opts.CommonOptions
	// contains filtered or unexported fields
}

Options struct contains the version flags

func (*Options) Run

func (o *Options) Run() error

Run implements the version command

Jump to

Keyboard shortcuts

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