common

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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,
	RunE: func(cmd *cobra.Command, args []string) error {
		return cmd.Help()
	},
	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)

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