Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

REPL: Add .clearhistory command

未關閉
#63,905 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@bitpshr 已經在處理了。

開始於 2026年7月12日。

  • #64450 來自 @bitpshr —— 未關閉

評估

難度
3/5
預估耗時
1-2 天
新手友好度
64/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
javascript
領域
cli

研究方向

先找出 REPL 的內建命令處理和歷史記錄持久化程式碼。檢查現有 REPL 命令的測試方式,然後新增涵蓋範圍,顯示 .clearhistory 會移除儲存的 REPL 歷史記錄,而不需要使用者尋找歷史記錄檔案。

由索引模型根據 Issue 內容生成。

描述

feature request repl
What is the problem this feature will solve?

This feature allows users to clear REPL history from within the REPL itself, avoiding the need to manually locate and delete the history file. Similar to how Git Bash supports history -c.

What is the feature you are proposing to solve the problem?

This built-in command allows users to clear REPL history from within the REPL itself, avoiding the need to manually locate and delete the history file.

What alternatives have you considered?

No response

主要語言
JavaScript
星號
122k
分支
39.9k
平均合併
3 天 22 小時
30 天內合併 PR
235

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

nodejs/node 的其他 Issue

查看 nodejs/node 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。