version

package
v0.15.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// TestVersion used in test cases for the current version if no
	// version can be found - such as if the version property is not properly
	// included in the go test flags
	TestVersion = "1.0.0-SNAPSHOT"
)

Variables

View Source
var (
	Version string
)

Functions

func GetVersion

func GetVersion() string

Types

type Options

type Options struct {
	Apps []string
	Args []string
	Cmd  *cobra.Command
}

Options for triggering

func NewCmdVersion

func NewCmdVersion() (*cobra.Command, *Options)

NewCmdTrigger

func (*Options) Run

func (o *Options) Run() error

Jump to

Keyboard shortcuts

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