Skip to content

Commit

Permalink
chore(docs): update read documentation in readme (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh authored Apr 2, 2024
2 parents 22466ca + d67495a commit 836fb08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ fga tuple **read** [--user=<user>] [--relation=<relation>] [--object=<object>]
* `--relation`: Relation
* `--object`: Object
* `--max-pages`: Max number of pages to get. (default 20)
* `--simple-output`: Output simpler JSON version. (It can be used by write and delete commands)
* `--output-format`: Can be `csv`, `yaml`, `json` or `simple-json`. Use `simple-json` for a simpler json format that can be piped to the write and delete commands

###### Example
`fga tuple read --store-id=01H0H015178Y2V4CX10C2KGHF4 --user user:anne --relation can_view --object document:roadmap`
Expand All @@ -772,7 +772,7 @@ fga tuple **read** [--user=<user>] [--relation=<relation>] [--object=<object>]
]
}
```
###### Response (--simple-output)
###### Response (--output-format=simple-json)
```json5
[
{
Expand Down

0 comments on commit 836fb08

Please sign in to comment.