reethi contacts list

This commit is contained in:
Shihaam Abdul Rahman 2021-04-25 14:35:28 +05:00
parent 5f60dc473e
commit e42af0fecf

View File

@ -57,7 +57,7 @@ elif [ "$MENU" = "2" ]
if [ "$CONTACS" = "1" ] if [ "$CONTACS" = "1" ]
then then
curl -s -b $COOKIE $BML_URL/contacts | jq -r '["Alias","Name","Account Number"], (.["payload"] | .[] | [.alias, .name, .account]) | @tsv' curl -s -b $COOKIE $BML_URL/contacts | jq -r '["Account Number","Currency","Account Name","Contact Name"], ["==================================================================="], (.["payload"] | .[] | [.account, .currency, .name, .alias]) | @tsv'
elif [ "$CONTACS" = "2" ] elif [ "$CONTACS" = "2" ]
then then
printf 'Account Number: ' printf 'Account Number: '