Adds a confirmation step ('Are you sure?'). Can be bypassed with -y, --yes, or --no-interaction.
Adds a flag to the command line, --revert. This will revert all datasets in the harvest before deregistering, and is the equivalent of drush dkan:harvest:revert ID && drush dkan:harvest:deregister ID
QA Steps
[ ] Add manual QA steps in checklist format for a reviewer to perform. Be as specific as possible, provide examples if appropriate.
Checklist before requesting review
If any of these are left unchecked, please provide an explanation
[ ] I have updated or added tests to cover my code
Fixes [issue#]
Describe your changes
Modifies
drush dkan:harvest:deregister
:-y
,--yes
, or--no-interaction
.--revert
. This will revert all datasets in the harvest before deregistering, and is the equivalent ofdrush dkan:harvest:revert ID && drush dkan:harvest:deregister ID
QA Steps
Checklist before requesting review
If any of these are left unchecked, please provide an explanation