mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
6 lines
224 B
Text
6 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("")
|