cmd

package
v4.7.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "v4.7.2"

Version defines the current Pop version.

Variables

View Source
var RootCmd = &cobra.Command{
	Short: "A tasty treat for all your database needs",
	PersistentPreRun: func(c *cobra.Command, args []string) {
		fmt.Printf("%s\n\n", Version)
		env = defaults.String(os.Getenv("GO_ENV"), env)
		setConfigLocation()
	},
	Run: func(cmd *cobra.Command, args []string) {
		if !version {
			cmd.Help()
		}
	},
}

RootCmd is the entry point of soda CLI.

Functions

func Execute

func Execute()

Execute runs RunCmd.

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