Normalize File Deletion Logic
オープン
初心者向け
bug
enhancement
- 主要言語
- Python
- スター
- 1
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Description:
Currently, file deletion fails if the user does not type .txt manually. Make the delete logic smart enough to:
Check and append .txt if not already present.
Allow deletion by typing just the base name.
Expected Behavior:
Enter file name to delete: notes
→ Deletes notes.txt (if exists)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Look for the file deletion function in the codebase, likely in a main CLI script. The logic should check if the input filename ends with '.txt'; if not, append it before attempting deletion. Test by running the program and trying to delete a file with and without the extension.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 75/100