(path string)
| 87 | } |
| 88 | |
| 89 | func mustFile(path string) []byte { |
| 90 | bs, err := ioutil.ReadFile(path) |
| 91 | if err != nil { |
| 92 | fatalf("couldn't read file %q: %s", path, err) |
| 93 | } |
| 94 | |
| 95 | return bs |
| 96 | } |
| 97 | |
| 98 | func staticFromFlags(cmd *cobra.Command, kernel string, initrds []string, extraCmdline string) *pixiecore.Server { |
| 99 | cmdline, err := cmd.Flags().GetString("cmdline") |
no test coverage detected