Skip to content

Remove interactivity from CLI, delete by default #4117

@davidmorgan

Description

@davidmorgan

build_runner has been around for quite some time now :) ... based on how people use it, I propose to:

  • remove interactivity: currently, it can prompt before deleting pre-existing outputs or a pre-existing merged output folder
  • make "do delete outputs", -d, the default option
  • possibly also make "do delete outputs" the only option

roughly, the justification is that these are all things you can easily achieve yourself in a wrapper script / tool / build, and it's better if build_runner just does the simplest and most useful thing always.

These would technically be breaking changes, but I'd be surprised if they cause trouble for 99% of people.

Please comment if you need/like the current "prompt by default" behaviour :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions