Add an `--output-file` option to `fga tuple read`
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 102
- Forks
- 49
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 16
Description
We currently display the output of fga tuple read to stdout.
In some cases, we could want to display other things to stdout, like progress information.
We should add an --output-file parameter and write tuples in that file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the fga tuple read command entry point and trace where its tuples are written to stdout. Add the --output-file option so tuple output can be directed to the requested file while stdout remains available for other information. Update or add the command tests to verify file output and run the relevant CLI test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100