Skip to content

Instantly share code, notes, and snippets.

@octagonal octagonal/queroku.sh
Created Sep 21, 2017

Embed
What would you like to do?
Find heroku config vars
# Output is ; delimited
for i in $(heroku apps -o $ORG --json | jq -r ".[] | .name"); do
# Find by value:
echo -n "$i;"; heroku config --app $i | awk '{print $2}' | grep -e "$QUERY" | tr -d '\n'; echo '';
# Find by key:
# echo -n "$i;"; heroku config:get $QUERY --app $i | tr -d '\n'; echo '';
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.