the-after-hours / contri-credit

Give contribution credit where contribution credit is due
MIT License
1 stars 0 forks source link

If CONTRIBUTORS.md file already exists, prompt user to overwrite #4

Open jwu910 opened 6 years ago

jwu910 commented 6 years ago

Currently Contri-credit will generate and replace a CONTRIBUTORS.md file. Prompt the user if they would like to confirm and overwrite an existing CONTRIBUTORS.md.

Alternative is to add a prerequisite comment snippet we add in to the markdown file for contri-credit to identify as a start and end section to paste the results to.

We can take a look at https://github.com/kentcdodds/all-contributors and how this team inserts code snippets into the readme.