MCPcopy Create free account
hub / github.com/codeedu/fc2-arquitetura-hexagonal / init

Function init

cmd/http.go:42–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func init() {
43 rootCmd.AddCommand(httpCmd)
44
45 // Here you will define your flags and configuration settings.
46
47 // Cobra supports Persistent Flags which will work for this command
48 // and all subcommands, e.g.:
49 // httpCmd.PersistentFlags().String("foo", "", "A help for foo")
50
51 // Cobra supports local flags which will only run when this command
52 // is called directly, e.g.:
53 // httpCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
54}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected