reethi contacts list
This commit is contained in:
parent
5f60dc473e
commit
e42af0fecf
@ -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: '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user