Skip to content

Creating directories that do not exist #1275

Answered by hairyhenderson
theskipster asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @theskipster - Happy New Year! Sorry for the slow response, I've been on vacation 😉

If you use inputDir/outputDir, gomplate will create the paths, but that isn't the behaviour for outputFiles. I'm not sure I can think of a good reason not to automatically create the output directory, and it's a bit unexpected. I'll convert this to an issue and add this as a feature.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@theskipster
Comment options

Answer selected by hairyhenderson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants