cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AppName string = "forklift"
View Source
const Version string = "v1.0.0"

version should be in format d.d.d where d is a decimal number

Variables

Functions

func AddAppName

func AddAppName(str string) string

Application name can change over time so it is made parameteric

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 SetupConfigurationEnvrionmentVariables

func SetupConfigurationEnvrionmentVariables()

Types

This section is empty.

Jump to

Keyboard shortcuts

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