You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that hatch seems to define a hook for template registration. I can't figure out how to use it, though. Most of the plugins seem to be specified in the project's hatch.toml configuration. How can I register a plugin that hooks into the templates? E.g., how can I control the template used for hatch new?
Where do I place the plugin source files to test it? Do I just specify a path?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I saw that hatch seems to define a hook for template registration. I can't figure out how to use it, though. Most of the plugins seem to be specified in the project's hatch.toml configuration. How can I register a plugin that hooks into the templates? E.g., how can I control the template used for
hatch new
?Where do I place the plugin source files to test it? Do I just specify a path?
I've installed hatch via the binary package.
I see the hook here:
https://github.com/pypa/hatch/blob/master/src/hatch/plugin/manager.py
But I'm at a loss for how I can actually tell hatch to use my hook
Beta Was this translation helpful? Give feedback.
All reactions