common

package
v0.7.14 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmdTmpl = &cobra.Command{
	Use:   session.AppName(),
	Short: release.ShortBanner,
	Long:  release.Banner,
	Run: func(cmd *cobra.Command, args []string) {
		cmd.UsageFunc()(cmd)
	},
	SilenceUsage:  true,
	SilenceErrors: true,
}

Functions

func DefaultPreRunE

func DefaultPreRunE(cmd *cobra.Command, args []string) error

func InitTmpl

func InitTmpl(rootCmd *cobra.Command)

func PScommand

func PScommand(cmd *cobra.Command, args []string) (err error)

func STARTup

func STARTup(r *cobra.Command) (err error)

func ViperStringSliceBugWorkaround added in v0.7.12

func ViperStringSliceBugWorkaround(plain []string) []string

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