updated bitbucket_get_ssh_public_keys.sh

pull/2/head
Hari Sekhon 4 years ago
parent ff28b4609e
commit baac2d3a38

@ -65,4 +65,5 @@ fi
echo "# Fetching SSH Public Key(s) from BitBucket for account: $user" >&2 echo "# Fetching SSH Public Key(s) from BitBucket for account: $user" >&2
echo "#" >&2 echo "#" >&2
"$srcdir/bitbucket_api.sh" "/users/$user/ssh-keys" | "$srcdir/bitbucket_api.sh" "/users/$user/ssh-keys" |
jq -r '.values[] | [ .key, .owner.display_name, .label, "(bitbucket.org)", .comment ] | @tsv' jq -r '.values[] | [ .key, .owner.display_name, .label, "(bitbucket.org)", .comment ] | @tsv' |
tr '\t' ' '

Loading…
Cancel
Save