mrlunchbox777 / basic-setup

basic box setup
MIT License
6 stars 3 forks source link

feature: Add how to search for packages that match labels to the documentation #131

Open mrlunchbox777 opened 4 months ago

mrlunchbox777 commented 4 months ago

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 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.

Covers this TODO.

Steps to Test

If done for jq:

  1. 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:

  1. 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.
  2. Those commands should have a flag to get a yq command that could get the same result

Code of Conduct