When this is done, if it's done for jq would only affect the documentation and provide a 2 line example of searching the index file for all packages matching a label. If it's done for yq it should be built into a/some command(s), with an option of getting the yq commands that would do the same work.
2 lines of documentation should be added to resources/install/README.md in the Commands for Reading index.json files that show an example of how to find all packages that have a label with yq
If done for yq:
One or more commands should be added to get all of the info that can be gathered from Commands for Reading index.json files from resources/install/README.md.
Those commands should have a flag to get a yq command that could get the same result
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Contact Details
mrlunchbox777@gmail.com
Feature Description
Add how to search for packages that have a label to the documentation.
Why?
Finding a list of all packages that match a label allows a user to see what they would be installing ahead of time.
What-should happen?
This could be done after the switch to yaml, but doesn't have to be.
When this is done, if it's done for
jq
would only affect the documentation and provide a 2 line example of searching the index file for all packages matching a label. If it's done foryq
it should be built into a/some command(s), with an option of getting the yq commands that would do the same work.Covers this TODO.
Steps to Test
If done for
jq
:resources/install/README.md
in theCommands for Reading index.json files
that show an example of how to find all packages that have a label withyq
If done for
yq
:Commands for Reading index.json files
fromresources/install/README.md
.yq
command that could get the same resultCode of Conduct