commitizen / commitizen/cz-cli

Propose: make answers persistent even be aborted halfway

未关闭
#577 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
17.5k
派生
566
平均合并
8 小时 16 分钟
30 天内合并 PR
1

描述

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)

贡献指南

打开贡献指南

调研方向

从入口点 `git cz --read` 开始,检查交互式回答是如何收集的,以及 prompt 被中止时会发生什么。将所要求的持久化行为与链接的 `inquirer-store` 项目进行比较。如果在一次中断的运行之后可以重新使用之前输入的回答,并且相关 CLI 测试覆盖了这一行为,则视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。