Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add the -v/--version option to show the version information #2856

Merged
merged 3 commits into from
Jul 7, 2023

Conversation

laurenceisla
Copy link
Member

@laurenceisla laurenceisla commented Jul 7, 2023

Now that we can check the version from many sources, it makes sense to also allow it from the command line. This PR adds the -v / --version option and changes the following:

$ postgrest --version
Invalid option `--version'

...

To:

$ postgrest --version
PostgREST 11.1.0 (e752224)

@laurenceisla laurenceisla merged commit 774d015 into PostgREST:main Jul 7, 2023
@laurenceisla laurenceisla deleted the cli-version branch July 7, 2023 23:49
@steve-chavez steve-chavez mentioned this pull request Jul 10, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants