mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-06-10 01:36:35 +00:00
Stacked on the modifications PR. Now that no live code path references
the per-package fetchers, the shared HTTP/parsing helpers, the
in-process normalizer, or the example template, delete them. Pure
deletion — no behavior change.
- ~93 per-package <pkg>/releases.js fetcher modules.
- _common/{brew,fetcher,git-tag,gitea,github,github-source,
githubish,githubish-source}.js shared HTTP/parsing helpers.
- _webi/normalize.js in-process normalization layer (cache files
arrive normalized from webicached).
- _example/releases.js fetcher template for new packages.
The Go cache daemon (webicached) is now the sole producer of release
metadata; the Node process never makes an upstream request.
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| yq | https://github.com/mikefarah/yq | yq: a lightweight and portable command-line YAML processor |
To update or switch versions, run webi yq@stable or webi yq@beta, etc.
Files
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/bin/yq
~/.local/share/man/man1/yq.1
Cheat Sheet
yqis likejq, meaning that it's likesedfor YAML data - you can use it to slice and filter and map and transform structured data with the same ease thatsed,awk,grepand friends let you play with text.
Usage: yq e '<selector>' <filepath>
Works with YAML:
echo 'name: John' | yq e '.name' -
Works with JSON:
echo '[ { "name": "John" }, { "name": "Jane" } ]' | yq e '.[].name' -
See https://mikefarah.gitbook.io/yq/ for the docs.