Update the commands to use the new SF cli format.

Issue #2506 resolved
Justin Julicher created an issue

Currently there are warnings that the old style commands will be deprecated.

e.g.

sfdx force:source:deploy should be changed to sf project deploy start

"We plan to deprecate this command in the future. Try using the \"project deploy start\" command instead."

Comments (3)

  1. Scott Wells repo owner
    • changed status to open

    Justin, are you seeing those deprecations as user-facing or just in the log and/or Messages view where the command execution output is displayed? IC should be removing those deprecation warnings when conveying results to the user via the UI.

    I haven't been in a hurry to update the command usages because Salesforce has confirmed that they will support the original command syntax indefinitely given the broad set of integrations that were created against it. To be honest, I'm in an "if it ain't broke..." mindset as it took time to get processing of the JSON output working properly. I know that the old commands and argumetns are just aliases for the new commands and arguments and should yield identical output, but I'd hate to do a 1:1 migration and suddenly start getting bug reports on subtle, unexpected changes. I'd say it's ~90+% unlikely, but it's that last ~10% that concerns me...

  2. Log in to comment