cmd

package
Version: v0.0.0-...-d9a1202 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BinVersion string

BinVersion describes built binary version.

View Source
var GoVersion string

GoVersion Describes Go version that was used to build the binary.

Functions

func GetEnvBool

func GetEnvBool(key string, fallback bool) bool

GetEnvBool defines a environment variable with a specified name, fallback value. The return is either a true or false.

func GetEnvString

func GetEnvString(key, fallback string) string

GetEnvString defines a environment variable with a specified name, fallback value. The return is a string value.

func PrintHelp

func PrintHelp()

PrintHelp prints help text.

func PrintVersion

func PrintVersion()

PrintVersion prints version information about the binary.

func Run

func Run()

Run is the entry point for starting the command line interface.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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