cmd

package
v0.4.4 Latest Latest
Warning

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

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

Documentation

Overview

Package cmd provides CLI interfaces for the `supraworker` application.

Package cmd defines command tools. Version tools for Supraworker

Index

Constants

View Source
const (
	// Version defines main version number
	Version = "0.4.4"

	// VersionPrerelease is pre-release marker for the version
	// such as "dev" (in development), "beta", "rc1", etc.
	VersionPrerelease = "dev"
)

Variables

View Source
var GitCommit string

GitCommit defines the git commit that was used at runtime. This will be filled in by the compiler.

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. return error

func FormattedVersion

func FormattedVersion() string

FormattedVersion returns formatted version as string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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