(cmd *cobra.Command)
| 43 | } |
| 44 | |
| 45 | func (flags *pathFlag) registerPersistent(cmd *cobra.Command) { |
| 46 | cmd.PersistentFlags().StringVarP( |
| 47 | &flags.path, "config", "c", os.Getenv(envir.DevboxConfig), pathFlagUsage, |
| 48 | ) |
| 49 | } |
| 50 | |
| 51 | const pathFlagUsage = "path to directory containing a devbox.json config file " + |
| 52 | "(defaults to the " + envir.DevboxConfig + " env var, if set)" |
no outgoing calls
no test coverage detected