Skip to content

Add a netlify clean command #2964

Open
@ascorbic

Description

@ascorbic

Is your feature request related to a problem? Please describe.

In development I often need to clean the cache, and it's annoying having to do this manually.

Describe the solution you'd like

A netlify clean command that clears the Nelify cache, as well as (possibly optionally) the publish directory. Better still would be a way for frameworks to declare their own clean commands too in framework-info.

Describe alternatives you've considered

Doing it manually

Can you submit a pull request?

Yes

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions