|
|
|
|
|
by jez
1641 days ago
|
|
And when someone teaches you a sequence of commands that are ~always run together, consider writing a script. Check the script into the repo. Now you have executable documentation. (Obviously within reason: maybe `npm install && npm run start` doesn’t need to be in a script, but maybe two or three commands that print out some token which needs to be copied into the next steps would benefit). Depending on the nature of the script, maybe even write a test. Now you have machine checked documentation. |
|