When rendering tool hooks currently we pass nil as data. However we could allow these files to use template variables based on the tools config. Either directly passing Tool or a template specific struct based on it seems like a solid starting foundation.
The hook template vars would use regular Go template syntax not the shorter custom syntax from the config file.
When rendering tool hooks currently we pass
nilas data. However we could allow these files to use template variables based on the tools config. Either directly passingToolor a template specific struct based on it seems like a solid starting foundation.The hook template vars would use regular Go template syntax not the shorter custom syntax from the config file.