MCPcopy Index your code
hub / github.com/cortexlabs/cortex / deleteInit

Function deleteInit

cli/cmd/delete.go:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37)
38
39func 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
48var _deleteCmd = &cobra.Command{
49 Use: "delete API_NAME [JOB_ID]",

Callers 1

initFunction · 0.85

Calls 1

Tested by

no test coverage detected