-
Notifications
You must be signed in to change notification settings - Fork 893
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
Argument --version does not display version #2266
Comments
Showing the version was removed in #1653 by @dereuromark, where I think the rationale was that updating the |
Could it read the version from the composer lock file etc? |
Yeah, there's three files we could use:
The first two files have the downside of that we have to load the JSON and parse it, and then do a search through an array to find The third file has the advantage where we can just require the file and then can look up the name like We could also use the |
For those of us that use Phinx as standalone tool, it may be convenient that
--version
argument actually displays the version number and not only "hey, I'm Phinx":The
--help
says:-V, --version
Display this application versionThanks :)
The text was updated successfully, but these errors were encountered: