REPL: Add .clearhistory command
維護者通常 1 天內回覆
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 64/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 冷清
- 技術堆疊
- javascript
- 領域
- cli
研究方向
先找出 REPL 的內建命令處理和歷史記錄持久化程式碼。檢查現有 REPL 命令的測試方式,然後新增涵蓋範圍,顯示 .clearhistory 會移除儲存的 REPL 歷史記錄,而不需要使用者尋找歷史記錄檔案。
由索引模型根據 Issue 內容生成。
描述
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
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
nodejs/node 的其他 Issue
-
Docs: --watch-path *is* supported on linux可能已有人在做 @motokaneyuki 於 2 天前認領。 未關閉
難度 1/5 1 小時以內 新手友好度 82/100
nodejs/node#66743 · 1 個 reaction ·
維護者通常 1 天內回覆
-
node:internal/inspector/network_http: `TypeError: Missing dataLength` in event when response uses `setEncoding()`可能已有人在做 @lazerg 於 11 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
[Docs] `process.loadEnvFile()` does not document behaviour when variables already exist可能已有人在做 @Sepandard 於 21 天前認領。 未關閉doc
難度 1/5 1 小時以內 新手友好度 90/100
維護者通常 1 天內回覆
-
Stream.prototype.forEach will block in first promise in queue before read more chunk可能已有人在做 @mmustafasenoglu 於 22 天前認領。 未關閉doc
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
nodejs 26.8.2 fails to build with clang/LLVM可能重新可做 @btyagi18 於 8 天前認領,目前沒有進行中的 PR。 未關閉build
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 1 天內回覆
相似的 Issue
-
effort:low model:light plan planner:fable-5-1 test-quality tests
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
area: agent area: theme help wanted lane: free-agent roadmap size: S status: needs-brief type: layout type: task
難度 2/5 1-3 小時 新手友好度 60/100
arminazimi/slipway#64 ·
-
release:v5.34
難度 1/5 1 小時以內 新手友好度 90/100
Jason-Vaughan/TangleClaw#2469 · 1 則留言 ·
維護者通常 1 天內回覆
-
hacktoberfest help wanted skip-changelog
難度 2/5 1-3 小時 新手友好度 85/100
wassim-azi/agy-powerline#74 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 67/100
MadeBaruna/paimon-moe#696 ·