I often find myself:
- Running my program with
-h
- Manually copying output
- Manually pasting that output into a section of my
README.md.
Would be nice with some utility-method that takes a section in the README and replaces it with updated docs. Users can invoke that utility method using a test case or whatever. And always have up-to-date usage in README.md.
To show what I mean, have a look at updateReadmeWithReporters here: https://github.com/tomasbjerre/violations-lib/blob/master/src/main/java/se/bjurr/violations/lib/util/Utils.java
I often find myself:
-hREADME.md.Would be nice with some utility-method that takes a section in the README and replaces it with updated docs. Users can invoke that utility method using a test case or whatever. And always have up-to-date usage in README.md.
To show what I mean, have a look at
updateReadmeWithReportershere: https://github.com/tomasbjerre/violations-lib/blob/master/src/main/java/se/bjurr/violations/lib/util/Utils.java