(_ []string, flags *core.CLIFlags)
| 343 | } |
| 344 | |
| 345 | func pathInfo(_ []string, flags *core.CLIFlags) error { |
| 346 | system := map[string][]string{} |
| 347 | |
| 348 | cfg, err := core.ReadPipeline(flags, false) |
| 349 | if err != nil { |
| 350 | return err |
| 351 | } |
| 352 | |
| 353 | system["configs"] = append(system["configs"], cfg.ConfigFiles...) |
| 354 | return printJSON(system) |
| 355 | } |
| 356 | |
| 357 | func loadConfigs(args []string, _ *core.CLIFlags) error { |
| 358 | if len(args) != 2 { |
nothing calls this directly
no test coverage detected
searching dependent graphs…