To prevent accidental deletion of resources we should prompt users on destructive actions, much like how Web UI handles.
Example:
netlify addons:delete fauna
Are you sure you want to delete the fauna add-on? (Y/N)
For CI users we can have a --force flag to avoid prompts
This would be useful for netlify addons:delete fauna and eventually netlify sites:delete
To prevent accidental deletion of resources we should prompt users on destructive actions, much like how Web UI handles.
Example:
For CI users we can have a
--forceflag to avoid promptsThis would be useful for
netlify addons:delete faunaand eventuallynetlify sites:delete