Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "env", Short: "Controls an environment from any point within the root project directory", Long: `Controls an environment from any point within the root project directory`, ValidArgsFunction: core.DockerComposeCompleter(), DisableFlagParsing: true, PreRunE: func(cmd *cobra.Command, args []string) error { if !core.ContainsString([]string{args[0]}, "config") { if err := core.CheckDocker(); err != nil { return err } } if err := commands.EnvCheck(); err != nil { return err } return nil }, RunE: func(cmd *cobra.Command, args []string) error { return commands.EnvCmd(args) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.