commitizen / commitizen/cz-cli

Propose: make answers persistent even be aborted halfway

Aberta
#577 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
17.5k
Forks
566
Merge médio
8h 16min
PRs com merge (30d)
1

Descrição

Sometimes, We need to use the answers in last time.

e.g:

First:
- type: `style`
- scope: `bar`
but It's aborted anyway (Maybe pressed `ctrl + C` by mistake)

Twice:
**We have to replay the answers (type: `style` and `scope`: `bar`), it's agonizing. 😭**

------------------
So, I propose that it could reading last answers by `git cz --read` and it's implemented by [inquirer-store](https://github.com/imcuttle/inquirer-store)

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start at the `git cz --read` entry point and review how the interactive answers are collected and what happens when the prompt is aborted. Compare the requested persistence behavior with the linked `inquirer-store` project. Done means previously entered answers can be reused after an interrupted run, with the behavior covered by the relevant CLI tests.

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

Avaliação

Stack de tecnologia
javascript
Domínio
cli
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

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