Closed Mounayer closed 1 week ago
Thank you for catching this.
I wrote the code with the assumption that the user will be passing files from a different directory when using the tool. This also provided me an idea for a possible feature in the future!
Closed this issue with PR: #9
Description
When I ran the
rm-generator generate main.cpp
command, the generatedREADME.md
file replaced the project'sREADME.md
file. Perhaps there should be a functionality that modifies the name of the generated file to something likeFILENAME_README.md
instead of justREADME.md
.Reproducing The Issue
main.cpp
.rm-generator generate main.cpp
README.md
file has been replaced with a newREADME.md
file explaining themain.cpp
file that was processedFix Suggestion
For now, maybe simply updating the name of the file generated in
index.js
from:to