Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "v4.9.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) if !c.PersistentFlags().Changed("env") { env = defaults.String(os.Getenv("GO_ENV"), env) } setConfigLocation() pop.LoadConfigFile() }, RunE: func(cmd *cobra.Command, args []string) error { if !version { return cmd.Help() } return nil }, }
RootCmd is the entry point of soda CLI.
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.