`fga --version` should return the version of the OpenFGA server
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 102
- Forks
- 49
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 16
Description
If the CLI is configured to use an OpenFGA server, the fga --version command should also return the server version.
If the OpenFGA server does not expose that endpoint for some reason, it should display unknown
$ fga --version
fga CLI version v`0.2.6` (commit: `dc4e39648ec5b626fc5c44c4f9f77a1e15806ab7`, date: `2024-02-28T12:47:25Z`)
openfga version v`1.5.0`
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 with the Go implementation of the fga --version command and trace how the CLI is configured to contact an OpenFGA server. Done means the output includes the server version when available and displays unknown when the server does not expose that endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100