sudoblockio / tackle

Tackle is a programmable configuration language for building modular utilities, code generators, and CLIs with schema validation baked in.
Apache License 2.0
52 stars 2 forks source link

Improve missing / unknown fields error #114

Open robcxyz opened 1 year ago

robcxyz commented 1 year ago

Should format the error better differentiating between base and actual hook fields.

tackle.exceptions.UnknownInputArgumentException: Error parsing input_file='None' 
Key=filename not in hook=helm.apply. Possible values are exec_: Any, return_: Union, render_exclude: list, validators: dict, methods: dict, public: bool, extends: str, help: str, name: str, function_dict: dict, function_fields: list, create-namespace: bool