0chain / 0chain/zcnwebappscripts

chimney script: add a prompt before deleting the previous blobber

未关闭 适合新手
#121 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
1
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

currently, when a user runs chimney script, and if there any previous blobber its data will be erased without warning.

We if there is a previous blobber deployment, we should prompt the user and show a warning telling:
"A blobber already exists on this server. Do you wish to delete blobber currently deployed on this server [N/y]:"

贡献指南

这个仓库没有索引到贡献指南

调研方向

在代码仓库中找到 chimney 脚本,很可能是一个处理 blobber 部署的 shell 脚本。找到它检查现有 blobber 并删除它的部分。使用 'read' 添加一个提示,在删除前请求用户确认。在本地测试脚本,确保警告出现且仅在输入 'y' 或 'Y' 时继续删除。

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

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
70/100

把新 issue 发到你的邮箱

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