cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfigCommand added in v0.2.0

func AddConfigCommand(root *cobra.Command)

AddConfigCommand adds configuration commands that are mutual between server and client

func ExitOnError

func ExitOnError(msg string, err error)

ExitOnError prints the provided message and error, and then exits the program with status code 1

func PrintConfig added in v0.2.0

func PrintConfig()

PrintConfig prints to the Stdout all viper configuration

func PrintVersion added in v0.2.0

func PrintVersion(name, version, revision string)

PrintVersion prints name, version and revision to Stdout

Types

This section is empty.

Directories

Path Synopsis
cmd
cmd

Jump to

Keyboard shortcuts

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