Ability to fail the whole process if spinner fails
还没有人认领这个 Issue。
评估
调研方向
阅读 lib/cli/ui/frame.rb 的第127-131行,以比较现有的进程停止行为,然后跟踪 spinner 的创建和失败路径。定义配置选项,并验证失败的 spinner 会停止进程,同时默认行为保持不变。
由索引模型根据 Issue 内容生成。
描述
Currently, when the error is raised inside a Frame, the whole process is halt, see https://github.com/Shopify/cli-ui/blob/b9e35edf1345ab221e77097dfd0a4b9675d71636/lib/cli/ui/frame.rb#L127-L131
I would like to have a similar ability for spinners - to be able to pass some config option when creating a spinner, so that if it fails it halts the whole process. Currently, the spinner is only marked as failed and the process continues.
Are you open for such a feature? I can help with a PR.
- 主要语言
- Ruby
- 星标
- 1.1k
- 派生
- 57
- 平均合并
- 2 小时 55 分钟
- 30 天内合并 PR
- 2
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Shopify/cli-ui 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 2/5 1-3 小时 新手友好度 55/100
-
难度 2/5 1-3 小时 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 42/100
-
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
security
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
OSCON 2016未关闭content
难度 2/5 1-3 小时 新手友好度 68/100
rubyevents/rubyevents#2148 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
we-promise/sure#3838 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
simp/pupmod-simp-pam#244 ·
维护者通常 7 天内回复
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 68/100
ManageIQ/manageiq-ui-classic#10341 ·
维护者通常 1 天内回复