Expand --version command
See original GitHub issueCurrently the version command just returns the CLI version and one commit hash for the binary which is hardcoded in the package.json - not the actual hash that the binary returns when asked for it.
Ideally the CLI would request the version from all the binaries version endpoints and output something like this:
prisma2@2.0.0-alpha.473
All binaries are on the same commit : 9sfhshfjdhfjsdhfs....`
Or in the case they differ (due to the usage of env vars to point to local binaries)
prisma2@2.0.0-alpha.473
The binaries are on different commits:
Introspection-Engine : 9fadsfsdfsdf...
Query-Engine : 5j245h45kk2hhgfsfsdf...
Migration-Engine : 92047254hsfs7s8fs02f...
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Expand Command (Examples, Options, Switches, and More)
The expand command is available from the Command Prompt in modern versions of Windows, as well as from within the Recovery Console in ......
Read more >expand Command in LINUX with examples - GeeksforGeeks
5. –version : This will display version information and exit. The number of options is not much when it comes to expanding command....
Read more >MS-DOS and Windows command line expand command
The expand command is used to take a compressed Windows file and "expand" it to its original form. Availability; Expand command syntax; Expand...
Read more >expand | Microsoft Learn
Reference article for the expand command, which expands one or more compressed files.
Read more >expand - Windows CMD - SS64.com
EXPAND. Uncompress one or more compressed .CAB cabinet files. ... Versions of Expand prior to 6.0 (Windows 7) have buggy handling of cab...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In addition, we should adjust the
--version
command, to take into account, if an engine override env var is present. If you e.g. providePRISMA_QUERY_ENGINE_BINARY
, the--version
command should print information about the binary that is targeted by that env var, instead of just printing the shipped binary.The new output will look as follows: