Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add abc delete subcommand #646

Open
drevell opened this issue Sep 27, 2024 · 0 comments
Open

Add abc delete subcommand #646

drevell opened this issue Sep 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@drevell
Copy link
Contributor

drevell commented Sep 27, 2024

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

@drevell drevell added the enhancement New feature or request label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant