1
0
mirror of https://github.com/Luzifer/badge-gen.git synced 2024-09-16 13:58:32 +00:00
badge-gen/Makefile
Knut Ahlers 01d5ecc648
Add documentation for configuration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-11 13:48:20 +01:00

5 lines
246 B
Makefile

documentation:
echo "| Key | Type | Description |" >config.md
echo "| --- | ---- | ----------- |" >>config.md
awk -F ' - ' '/#configStore/{ gsub(/.*configStore /, "", $$1); printf "| %s | %s | %s |\n", $$1, $$2, $$3 }' *.go | sort >>config.md