7xGit / 7xGit/7xGit_Task4

Normalize File Deletion Logic

Abierto Apto para principiantes
#1 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug enhancement
Lenguaje dominante
Python
Estrellas
1
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
cli
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
75/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.