-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to finalize gomplate.Renderer and related types before v4.0.0 #2073
Comments
In concept Another way to approach this that should work (?) is to use If you don't mind I'm going to rename this issue and use it to track finalizing |
If
|
It looks like the public interface for using
gomplete
is in flux as it is moved to version 4 so this is likely a "it's not quite done yet" question.The deprecated
RunTemplates
supports passing inInputDir
andOutputDir
which is super convenient when processing a directory since it builds the list of templates before calling the newgomplate.Renderer#RenderTemplates
. This appears to be currently broken ongatherTemplates
whencfg.InputDir != ""
since theFSProvider
is unset on the context.Is the intent to have something similar to
RunTemplates
(orRun
) with the newRenderer
or should I enumerate the list of templates myself and provide it toRenderTemplates
?The text was updated successfully, but these errors were encountered: