(jsonPath string)
| 313 | } |
| 314 | |
| 315 | func mustReadJSONBytes(jsonPath string) []byte { |
| 316 | jsonBytes, err := files.ReadFileBytes(jsonPath) |
| 317 | if err != nil { |
| 318 | fmt.Println(err.Error()) |
| 319 | os.Exit(1) |
| 320 | } |
| 321 | |
| 322 | return jsonBytes |
| 323 | } |
| 324 | |
| 325 | func mustExtractArgs() (string, string) { |
| 326 | if len(os.Args) != 3 { |
no test coverage detected