Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Commit

Permalink
out: provide a valid result
Browse files Browse the repository at this point in the history
  • Loading branch information
chrised committed Aug 14, 2020
1 parent 82cac0a commit fe7df3e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cmd/out
Expand Up @@ -55,3 +55,23 @@ else
-d@- \
"${base_url}/messages"
fi


jq -c \
'{
"version": {
"commit": .id
},
"metadata": [
{
"name": "created_at",
"value": .created,
},
{
"name": "created_by",
"value": .personEmail,
}
]
}' \
< /tmp/curl_webex_output \
>&3

0 comments on commit fe7df3e

Please sign in to comment.