cmd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commit string
View Source
var (
	// ConfigFilePath stores the path to the config file to use.
	ConfigFilePath string
)
View Source
var Version string

Variables initialized (injected) at build time. Refer: build_dist.sh

Functions

func Command

func Command() *cobra.Command

Command is used for accessing baseCmd in tests (and generating docs, refer docs/doc_generator.go)

func Execute

func Execute() error

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 baseCmd.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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