Component validation command
We need CI tool to be able to check that component project passes 'component pattern' requirements. Those are:
- file with name
<component_code>.go
- package
<component_code>
- file
manifest.json
with content:{"code":"<component_code>","name":"<Component Name>"}
- Declared Input & Output structs (IO structs)
- IO struct field names must be upper camel cased
- IO struct fields with primitive types must be pointers
-
func ComponentFuncExec(input Input) (Output, error)
must exist
If there is at least one fail for above requirements, tool must exit with error code
Edited by Timur Tazhibayev