hardisgroupcom / sfdx-hardis

Swiss-army-knife Toolbox for Salesforce. Orchestrates base commands and assist users with interactive wizards to make much more than native sfdx + Allows you to define a complete CI/CD Pipeline and Schedule a daily Metadata backup & monitoring of your orgs
https://sfdx-hardis.cloudity.com
GNU Affero General Public License v3.0
194 stars 35 forks source link

hardis:org:data:delete doesn't support full range of delete operations #787

Open readeral opened 2 weeks ago

readeral commented 2 weeks ago

Currently SFDMU offers the following deletion options:

DeleteSource operates on the source only, but the rest all require a target org. sfdx-hardis delete command only works with deletesource as it only uses the --sourceusername flag.

Related to #786 using the 'delete' option enables cleaning up the target before uploading data from source using objectSets. Supporting the full range of options would require a refactor, I can have a look at all this eventually.

readeral commented 2 weeks ago

I've removed my two paragraphs about safety.. I see you've got plenty of checks to ensure you can't accidentally run it in production!

nvuillam commented 2 weeks ago

@readeral indeed i wanted to make sure to avoid accidents in production :) I didn't know about the other options, plz be my guest for a PR to branch migrate-sf-plugin :)