Last active
June 10, 2021 07:01
-
-
Save oieioi/425fe928e51561858d175dcf5e0b3f2c to your computer and use it in GitHub Desktop.
Collecte ENV keys from Ruby project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git grep -h -o -E "ENV(\[|\.fetch).*"| | |
ruby -ane 'puts $_.match(%r|['\''"](.+?)["'\'']|)[1]' | | |
sort | | |
uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment