1 #!/usr/bin/env nix-shell
2 #! nix-shell -i bash -p jq
3 # shellcheck shell=bash
5 # Update all providers which have specified provider source address
8 readarray -t providers < <(
10 | map_values(.value + { alias: .key })
12 | select(."homepage"?)
13 | .alias' providers.json
17 Will update ${#providers[@]} providers:
23 for provider in "${providers[@]}"; do
24 ./update-provider --no-spdx "$@" "${provider}"