Closed rebornplusplus closed 1 week ago
ping @cjdcordeiro @woky @niemeyer
As discussed with @niemeyer, we will change the output so that the YAML matches the style that we write for the slice definitions. Basically, what was raised in https://github.com/letFunny/chisel/issues/9.
Updated the PR!
I remember we talked about adding the spread tests that were missing, can you add those? I think some kind of smoke test will be enough. For example, one of the tests can be to print some slices and diff it against the sdf. For that we can grep for some lines using yq to check that a path exists, that a essential is there, etc. but something that is not very complex, we have the Go tests for that.
Added a new spread task: tests/info/task.yaml
. Additionally, merged your commits from #147 to make the workflow pass.
This PR adds a new
info
command which shows detailed information about package slices.It accepts a white-space-separated list of strings. The list can be composed of package names, slice names, or a combination of both. The default output format is YAML. When multiple package or slice names are provided, the output is a list of YAML documents, separated by three dashes (“---”).
Slice definitions are shown verbatim according to their definition in the Chisel releases. For example, "globs" are not expanded.
Expand to see full specification
#### Command ``` chisel info ``` #### Usage ``` chisel info [info-OPTIONS] [Examples
Additional information