fix(scripts): ignore declarations without a description (#122)

This commit is contained in:
sigoden
2024-11-04 07:27:47 +08:00
committed by GitHub
parent 2cac7d90c8
commit afbd03f963
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -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 != "")
]'
}