Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnvCmd = &cobra.Command{ Use: "env", Short: "Print currently selected environment", Long: `Print currently selected environment. The environment can be via the command "var env set" or "var env switch". Example: var env switch dev var env #=> Prints "dev" `, Run: func(cmd *cobra.Command, args []string) { env, err := env.Get() if err != nil { panic(err) } fmt.Println(env) }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.