mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-06 10:26:49 +00:00
Renames: - github_repo → github_releases (back-compat kept) - github_source → github_sources (back-compat kept) - gitea_repo → gitea_releases (back-compat kept) New keys: - gitea_sources, gitlab_releases, gitlab_sources All keys now accept either owner/repo shorthand or full URLs: - github_releases = sharkdp/bat - github_releases = https://github.com/sharkdp/bat - gitea_releases = https://git.rootprojects.org/root/pathman Defaults: github → github.com, gitlab → gitlab.com. Gitea has no default (self-hosted only). Updated all 73 releases.conf files from github_repo to github_releases.
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.