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 摘要。