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

Function getInit

cli/cmd/get.go:56–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54)
55
56func getInit() {
57 _getCmd.Flags().SortFlags = false
58 _getCmd.Flags().StringVarP(&_flagGetEnv, "env", "e", "", "environment to use")
59 _getCmd.Flags().BoolVarP(&_flagGetWatch, "watch", "w", false, "re-run the command every 2 seconds")
60 _getCmd.Flags().VarP(&_flagOutput, "output", "o", fmt.Sprintf("output format: one of %s", strings.Join(flags.OutputTypeStringsExcluding(flags.YAMLOutputType), "|")))
61 addVerboseFlag(_getCmd)
62}
63
64var _getCmd = &cobra.Command{
65 Use: "get [API_NAME] [JOB_ID]",

Callers 1

initFunction · 0.85

Calls 2

addVerboseFlagFunction · 0.85

Tested by

no test coverage detected