cmd

package
v0.0.0-...-6d882ad Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: ISC Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 GetVerbosity

func GetVerbosity(flags *pflag.FlagSet) int

GetVerbosity determines the level of verboseness based on the given flags. Quiet is 0 and default is 1, all -v flags add one.

Types

This section is empty.