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

Show server version when running Spg #77

Open
dvallin opened this issue Feb 11, 2019 · 0 comments
Open

Show server version when running Spg #77

dvallin opened this issue Feb 11, 2019 · 0 comments
Milestone

Comments

@dvallin
Copy link
Owner

dvallin commented Feb 11, 2019

Is your feature request related to a problem? Please describe.
When running spg it might be running against a different version of Spacegun. The user should at least be informed about that.

Describe the solution you'd like
Add a server version endpoint. If the server can be reached the fetch the version on ANY command and compare to the local version. If command is version or help also show the server version and a warning on version mismatch.
For any other command: print a warning before doing the command on version mismatch.

Describe alternatives you've considered
Just looking at the server version on the servers webpage does not seem to work as good as a direct CLI integration.

@dvallin dvallin added this to the Version 0.2 milestone Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant