Skip to content
New issue

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

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

Already on GitHub? Sign in 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)

src/PostgREST/CLI.hs Outdated Show resolved Hide resolved
@laurenceisla laurenceisla merged commit 774d015 into PostgREST:main Jul 7, 2023
27 checks passed
@laurenceisla laurenceisla deleted the cli-version branch July 7, 2023 23:49
@steve-chavez steve-chavez mentioned this pull request Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants
-