-
Notifications
You must be signed in to change notification settings - Fork 6
overlays: file-add should allow replacing existing files (or add a file-replace) #29
Copy link
Copy link
Open
Labels
area: overlaysOverlay system: spec and file modifications driven by TOML declarationsOverlay system: spec and file modifications driven by TOML declarationsenhancementNew feature or requestNew feature or requestusabilityIssues or changes intended to capture and improve usability of toolsIssues or changes intended to capture and improve usability of tools
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: overlaysOverlay system: spec and file modifications driven by TOML declarationsOverlay system: spec and file modifications driven by TOML declarationsenhancementNew feature or requestNew feature or requestusabilityIssues or changes intended to capture and improve usability of toolsIssues or changes intended to capture and improve usability of tools