MCPcopy Create free account
hub / github.com/vale-cli/vale / pathInfo

Function pathInfo

cmd/vale/command.go:345–355  ·  view source on GitHub ↗
(_ []string, flags *core.CLIFlags)

Source from the content-addressed store, hash-verified

343}
344
345func 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
357func loadConfigs(args []string, _ *core.CLIFlags) error {
358 if len(args) != 2 {

Callers

nothing calls this directly

Calls 2

ReadPipelineFunction · 0.92
printJSONFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…