cmd

package
v0.0.0-...-3d71e5f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "cobra-viper-sample",
	Short: "Sample application using cobra",
	Long: `This application is simple program to learn spf13/cobra
spf13/cobra looks really nice CLI framework.
I want to create lovely CLI program with this framework :)
`,
}

RootCmd represents the base command when called without any subcommands

View Source
var Verbose bool
View Source
var Zenkaku bool

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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