()
| 37 | ) |
| 38 | |
| 39 | func deleteInit() { |
| 40 | _deleteCmd.Flags().SortFlags = false |
| 41 | _deleteCmd.Flags().StringVarP(&_flagDeleteEnv, "env", "e", "", "environment to use") |
| 42 | |
| 43 | _deleteCmd.Flags().BoolVarP(&_flagDeleteForce, "force", "f", false, "delete the api without confirmation") |
| 44 | _deleteCmd.Flags().BoolVarP(&_flagDeleteKeepCache, "keep-cache", "c", false, "keep cached data for the api") |
| 45 | _deleteCmd.Flags().VarP(&_flagOutput, "output", "o", fmt.Sprintf("output format: one of %s", strings.Join(flags.OutputTypeStringsExcluding(flags.YAMLOutputType), "|"))) |
| 46 | } |
| 47 | |
| 48 | var _deleteCmd = &cobra.Command{ |
| 49 | Use: "delete API_NAME [JOB_ID]", |
no test coverage detected