()
| 45 | ) |
| 46 | |
| 47 | func deployInit() { |
| 48 | _deployCmd.Flags().SortFlags = false |
| 49 | _deployCmd.Flags().StringVarP(&_flagDeployEnv, "env", "e", "", "environment to use") |
| 50 | _deployCmd.Flags().BoolVarP(&_flagDeployForce, "force", "f", false, "override the in-progress api update") |
| 51 | _deployCmd.Flags().BoolVarP(&_flagDeployDisallowPrompt, "yes", "y", false, "skip prompts") |
| 52 | _deployCmd.Flags().VarP(&_flagOutput, "output", "o", fmt.Sprintf("output format: one of %s", strings.Join(flags.OutputTypeStringsExcluding(flags.YAMLOutputType), "|"))) |
| 53 | } |
| 54 | |
| 55 | var _deployCmd = &cobra.Command{ |
| 56 | Use: "deploy [CONFIG_FILE]", |
no test coverage detected