()
| 40 | } |
| 41 | |
| 42 | func 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected