Skip to content

Prompt users on destructive commands #270

@DavidWells

Description

@DavidWells

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions