As a project maintainer, I want to be able to refresh the README without having to touch the HTML source code.
As a project maintainer, I want to be able to change the contributors order easily.
How: I first had to split addContributor() to extract pull request code into a specialized function. Then I added the support for the new refresh action, and tests.
Checklist:
[ ] Documentation (will be done in the specific repository if merged)
What: Proposal for https://github.com/all-contributors/all-contributors/issues/225, it adds the
refresh
command to refresh the contributors table.Why:
How: I first had to split
addContributor()
to extract pull request code into a specialized function. Then I added the support for the newrefresh
action, and tests.Checklist:
It's a first draft, hopefully it will be useful. If someone else wants to dig more (like adding better tests), it could be a good base.