Automatic readme generation

This commit is contained in:
Jeremy Soller
2019-03-18 10:37:42 -06:00
parent 3d15eb7c35
commit 6a2f1b2ea7
7 changed files with 57 additions and 7 deletions

View File

@@ -1,6 +0,0 @@
echo "# Models" > README.md
for readme in ./*/README.md
do
line="$(head -n 1 "$readme" | cut -d ' ' -f2-)"
echo "- [$line]($readme)" >> README.md
done