fix(scripts): don't build declarations for cmd startsWith (#121)

This commit is contained in:
sigoden
2024-11-04 06:51:19 +08:00
committed by GitHub
parent 3573a43978
commit 2cac7d90c8
+1 -1
View File
@@ -59,7 +59,7 @@ build_declarations() {
parameters: parse_parameter([.flag_options[] | select(.id != "help" and .id != "version")])
};
[
.[] | parse_declaration
.[] | parse_declaration | select(.name | startswith("_") | not)
]'
}