version

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const VersionRecommendedCommandName = "version"

Variables

This section is empty.

Functions

func NewCmdVersion

func NewCmdVersion(name, fullName string) *cobra.Command

Types

type VersionOptions

type VersionOptions struct {
}

func NewVersionOptions

func NewVersionOptions() *VersionOptions

func (*VersionOptions) Complete

func (o *VersionOptions) Complete(name string, cmd *cobra.Command, args []string) error

func (*VersionOptions) Run

func (o *VersionOptions) Run() (err error)

func (*VersionOptions) Validate

func (o *VersionOptions) Validate() (err error)

Jump to

Keyboard shortcuts

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