add to catalog

This commit is contained in:
2026-01-09 09:34:20 +01:00
parent 4705f2267e
commit d55846a877
2 changed files with 26 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ PKG_KEYS = {
}
COMMON_KEYS = {
"status", # tells it cliget process has been tested on this tool
"status", # tells if cliget process has been tested on this tool
"website",
"tags", # may have a typo with "tag" no s
"name", # tool name when not exe name
@@ -69,9 +69,9 @@ RULES = [
]
import sys
from yaml import safe_load
from yaml import safe_loadi as load
catalog = safe_load(open(sys.argv[1], "rt"))
catalog = load(open(sys.argv[1], "rt"))
for name, rule in RULES:
if rule(catalog):