Replies: 2 comments 1 reply
-
That would be a useful feature! Would you like to implement it in SQLPage? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Well I must have done something wrong, because implementing command line arguments was surprisingly easier than I thought ;-) I will submit a PR soon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a script to update SQLpage when a new version is released. I would like to check the installed version so that I run the rest of the script only if versions differ.
The sqlpage.bin binary doesn't seem to have any command parameters:
Whatever I try, it always launches the server with some defaults (creates sqlpage directory, runs on port 8080 etc.)
I know that when the server is running, I can get the version information, for example by creating the following version.sql file:
However, I can't use this method in a script.
So far, I am doing this:
As you can see, I have to resort to digging and parsing an ASCII string from the executable! Is there a better, more reliable way to get SQLpage version from a script?
Beta Was this translation helpful? Give feedback.
All reactions