()
| 25 | } |
| 26 | |
| 27 | func init() { |
| 28 | rootCmd.AddCommand(createCmd) |
| 29 | |
| 30 | // Here you will define your flags and configuration settings. |
| 31 | |
| 32 | // Cobra supports Persistent Flags which will work for this command |
| 33 | // and all subcommands, e.g.: |
| 34 | // createCmd.PersistentFlags().String("foo", "", "A help for foo") |
| 35 | |
| 36 | // Cobra supports local flags which will only run when this command |
| 37 | // is called directly, e.g.: |
| 38 | // createCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected