aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build-declarations.sh
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-11-04 07:27:47 +0800
committerGitHub <noreply@github.com>2024-11-04 07:27:47 +0800
commitafbd03f963b08419a3835c9473d757bf936c8b92 (patch)
treedfe8e09eaa15ab2a58b6b46ccaf7defa7027f1d2 /scripts/build-declarations.sh
parent2cac7d90c87c27534d69a9ac76baf7c528246713 (diff)
downloadllm-functions-docker-afbd03f963b08419a3835c9473d757bf936c8b92.tar.gz
fix(scripts): ignore declarations without a description (#122)
Diffstat (limited to 'scripts/build-declarations.sh')
-rwxr-xr-xscripts/build-declarations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-declarations.sh b/scripts/build-declarations.sh
index f01ad7d..af23590 100755
--- a/scripts/build-declarations.sh
+++ b/scripts/build-declarations.sh
@@ -59,7 +59,7 @@ build_declarations() {
parameters: parse_parameter([.flag_options[] | select(.id != "help" and .id != "version")])
};
[
- .[] | parse_declaration | select(.name | startswith("_") | not)
+ .[] | parse_declaration | select(.name | startswith("_") | not) | select(.description != "")
]'
}