add decorator for cli context
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user