Skip to content

Allow tool hook templates access to tool variables #38

@mallardduck

Description

@mallardduck

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions