Skip to content

overlays: file-add should allow replacing existing files (or add a file-replace) #29

@reubeno

Description

@reubeno

A common use case for file-add will be to replace an existing file with one of our own containing different content, so it doesn't make sense to require users to do file-remove then immediately file-add with the same file. if we want to leave file-add failing if the file exists, then there should be a file-replace command added that works like file-add but allows replacing an existing file.

--
Imported on behalf of @ddstreet

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: overlaysOverlay system: spec and file modifications driven by TOML declarationsenhancementNew feature or requestusabilityIssues or changes intended to capture and improve usability of tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions