commands

package
v0.0.0-...-e6112dc Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const CLIVersionDev = "DEV"

Variables

View Source
var (
	ServerURL string
	Output    string
	Quiet     bool
	Force     bool
	Verbose   bool

	Version string
	// Label - If label is not set, the version will be: DEV
	// If label is set as `release`, it will show the version released
	Label     string
	GitCommit string
)

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.

func GetRootCmd

func GetRootCmd() *core.Command

func LoginCmd

func LoginCmd() *core.Command

func PreRunLoginCmd

func PreRunLoginCmd(c *core.PreCommandConfig) error

func RunLoginUser

func RunLoginUser(c *core.CommandConfig) error

func RunVersion

func RunVersion(c *core.CommandConfig) error

func VersionCmd

func VersionCmd() *core.Command

Types

This section is empty.

Directories

Path Synopsis
completer
This is used for supporting completion in the CLI.
This is used for supporting completion in the CLI.
query
This is used for getting query parameters from options in the CLI.
This is used for getting query parameters from options in the CLI.

Jump to

Keyboard shortcuts

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