add decorator for cli context

This commit is contained in:
2026-09-24 19:06:28 +02:00
parent b4e1fa4ec3
commit d4c78cc29d
11 changed files with 285 additions and 25 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ def generate_schema_from_click(ctx, additional_properties=False):
schema: dict[str, Any] = {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": ("./src/dbyaml/resources/dbyaml.schema.json"),
"$comment": "tool.dbyaml table in pyproject.toml",
"$comment": "dbyaml table",
}
schema_ctx = generate_node_from_click(ctx, additional_properties)
schema.update(schema_ctx)