Created
July 1, 2022 15:19
-
-
Save guibeira/016cc946617339b82ff6b5903f3e4acc to your computer and use it in GitHub Desktop.
dolar hj cli
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
#!/usr/bin/env bash | |
curl -m 1 https://economia.awesomeapi.com.br/last/USD-BRL | jq -r '.USDBRL.bid' | awk '{print "BRL "$0}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo curl -o /usr/local/bin/dolar https://gist.githubusercontent.com/guibeira/016cc946617339b82ff6b5903f3e4acc/raw/020e8c9813928ebb9b01c41c8018817ef9afd301/dolar.sh && sudo chmod +x /usr/local/bin/dolar