sfdx force --version not working
See original GitHub issueSummary
sfdx force --version
is documented in the SalesforceDX Developer’s Guide as the mechanism to get CLI Version Information.
Steps To Reproduce:
- Install the latest CLI and force plugin.
- Execute
sfdx force --version
Expected result
Information about the Salesforce API version used by the CLI should be displayed.
Actual result
ERROR running force: Unexpected argument: --version See more help with --help
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.5.0-e6ca93eee8 darwin-x64 node-v10.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core) @oclif/plugin-commands 1.2.2 (core) @oclif/plugin-help 2.1.6 (core) @oclif/plugin-not-found 1.2.2 (core) @oclif/plugin-plugins 1.7.8 (core) @oclif/plugin-update 1.3.9 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-trust 3.0.2 (core) analytics 1.1.2 (core) generator 1.1.0 (core) salesforcedx 45.12.0 (core) ├─ force-language-services 45.10.0 (core) └─ salesforce-alm 45.15.0 (core)
sfdx-cli 7.5.0 (core)
OS and version: MacOS Mojave 10.14.4
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top GitHub Comments
@clairebianchi it’s a bit of a hassle to evangelists and instructors that this command was removed.
Telling someone to type
sfdx force --version
to see if they got the big “DX Cloud” in their terminal was one of the best ways to make sure that someone had properly installed the CLI on their local machine.Even worse (for me) is that I’ve used this in workbooks and videos about how to use SFDX. I’ve also seen it in DF and TDX videos (including the AppX Keynote demo I did at DF’17). Now those references (and instructions in workbooks) make no sense.
It would be great if we could get that command back. It’s a nice bit of candy to have in the CLI.
If we can’t get it back, is there another way to get the “DX Cloud” now?
As per my last encounter of it today. It is working but without --verion or -v.
Although in the documentation it still says that
sfdx force --version
. But you’ll get the ASCII cloud with justsfdx force
. It would be nice @clairebianchi if we update the documentation too.