cli

package
v0.0.0-...-5c36ebe Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BuildVersion contains the major.minor version of the CLI client
	BuildVersion = "*not set*"

	// BuildTime contains timestamp when the CLI client has been built
	BuildTime = "*not set*"

	// BuildBranch contains Git branch used to build this application
	BuildBranch = "*not set*"

	// BuildCommit contains Git commit used to build this application
	BuildCommit = "*not set*"
)

Functions

func PrintAuthors

func PrintAuthors()

PrintAuthors function displays list of authors on standard output.

func PrintConfiguration

func PrintConfiguration(conf *config.Configuration)

PrintConfiguration function displays actual configuration on standard output.

func PrintVersionInfo

func PrintVersionInfo()

PrintVersionInfo function displays info about service version on standard output.

Types

type Flags

type Flags struct {
	ShowConfiguration bool
	ShowAuthors       bool
	ShowVersion       bool
}

Flags represents structure holding all command line arguments and flags.

Jump to

Keyboard shortcuts

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