abcxyz / abcxyz/abc

Add `abc delete` subcommand

Aberta
#646 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Go
Estrelas
16
Forks
4
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### 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_

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Look for the CLI command structure in the codebase, likely in a cmd/ directory. Find where template manifests are stored and how file hashes are recorded. The delete subcommand needs to read the manifest, compare hashes, and handle conflicts. Check for existing subcommands like 'apply' to understand the pattern. Running the existing tests will verify the implementation.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
cli
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.