mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
7 lines
224 B
Text
7 lines
224 B
Text
|
. | to_entries | sort_by(.key) | map(
|
||
|
" - `builtins." + .key + "` "
|
||
|
+ (.value.args | map("*" + . + "*") | join(" "))
|
||
|
+ " \n\n"
|
||
|
+ (.value.doc | split("\n") | map(" " + . + "\n") | join("")) + "\n\n"
|
||
|
) | join("")
|