1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-24 01:04:19 +00:00
todocolors/todored/notice-markdown.fish

6 lines
338 B
Fish
Executable file

#!/usr/bin/env fish
set n \n
set q "`"
jq --raw-output "(.third_party_libraries[]) | {\"dep\": (.package_name), \"license\": (.license), \"text\": (.licenses[] | \"#### \" + (.license) + \"$n$n$q$q$q$n\" + (.text) + \"$n$q$q$q\")} | \"### \" + (.dep) + \" · $q\" + (.license) + \"$q$n$n\" + (.text) + \"$n\"" < NOTICE.json > NOTICE.md