version

package
v0.18.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package version implements the `version` command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayVersion

func DisplayVersion() string

DisplayVersion is Version() display formatted, this is what the version subcommand prints

func NewCommand

func NewCommand(logger log.Logger, streams cmd.IOStreams) *cobra.Command

NewCommand returns a new cobra.Command for version

func Version

func Version() string

Version returns the kind CLI Semantic Version

Types

This section is empty.

Jump to

Keyboard shortcuts

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