Add --ignore-destructive parameter #112
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this pull request contains? Explain your changes.
Explain your changes
Add --ignore-destructive parameter to the cli
When specified it will override --ignore (if specified) and filter Deletion diff allowing to not have element in the ignore file added in the destructiveChanges
Does this close any currently open issues?
closes #98
Any particular element to being able to test locally
New parameter is added
--ignore-destructive [-D]
When specified it will override --ignore (if specified) and filter Deletion diff allowing to not have element in the ignore file added in the destructiveChanges
Where has this been tested?
Operating System: Darwin Kernel Version 18.7.0: Tue Jan 12 22:04:47 PST 2021; root:xnu-4903.278.56~1/RELEASE_X86_64
yarn version: 1.22.10
node version: v15.12.0
git version: 2.31.0
sfdx version: sfdx-cli/7.93.1 darwin-x64 node-v15.12.0
sgd plugin version: sfdx-git-delta 4.2.3