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

7 lines
338 B
Fish
Raw Normal View History

2023-10-10 23:37:23 +00:00
#!/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