Skip to content

Commit

Permalink
docs: add output format to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinLoeper committed Mar 28, 2024
1 parent 60509a0 commit 20e5b30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,15 @@ SELECTED_S3_KEY=$(cat $TMP_FILE | jq -r '.prefix')

This tool uses *inquirer-s3* under the hood which depends on an old version of *inquirer*.
In new versions of inquirer, there is a [fix](https://github.com/pnp/cli-microsoft365/issues/5489) to this problem and inquirer uses stderr insted of stdout.
We work around this limitation by using our custom file description with number 3.
We work around this limitation by using our custom file description with number 3.

## Output

```json
{
"bucket": "acme-bucket",
"prefix":"09036d7c13ed8e39d23d5552b0f46fb5125764f2df8c85fd313873931631ceff.zip",
"objectUrl":"https://s3.amazonaws.com/acme-bucket/09036d7c13ed8e39d23d5552b0f46fb5125764f2df8c85fd313873931631ceff.zip",
"s3Uri":"s3://acme-bucket/09036d7c13ed8e39d23d5552b0f46fb5125764f2df8c85fd313873931631ceff.zip"
}
```
1 change: 0 additions & 1 deletion result

This file was deleted.

0 comments on commit 20e5b30

Please sign in to comment.