abcxyz / abcxyz/abc

Add `abc delete` subcommand

Offen
#646 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Go
Sterne
16
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### TL;DR

An `abc delete` subcommand would allow all the files belonging to a template to be removed, without affecting neighboring files.

Approximate algorithm: for each file in the manifest, if the file hash matches the recorded hash in the manifest, delete it. If the hash doesn't match, then it has been locally modified, so raise a merge conflict. We'd also have a `--force` flag or something to delete in spite of merge conflicts.

### Detailed design

_No response_

### Alternatives considered

_No response_

### Additional information

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.