Specifying Two inputDir and one outputDir
#1689
Replies: 2 comments 2 replies
-
|
Hi @ProfessorManhattan, I'm not sure I understand the use-case, but from the title it seems you're trying to specify multiple inputDirs. This isn't supported. You'll need to either regroup the input templates into a single directory, or invoke Note that if your directory structure in the input dir doesn't match the layout you want in the output dir, you can use |
Beta Was this translation helpful? Give feedback.
-
|
Hi @hairyhenderson, I have a very basic requirement to process multiple files from input-dir and create output-map. Following the same structure of the files in output directory and remove the .tmpl suffix from the files in input-dir Template When I pass like gomplate --inputdir template output-map=out/{{ .in strings.ReplaceAll ".yaml.tmpl" ".yaml"}} this works only for pipelines.yaml where in .md.tmpl file also needed to be handled in the same gomplate run Kindly provide some idea |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I have a have bunch of files required for my repos. All of them inherit files from the
common/directory and then they also inherit files from a folder named after a variable which is available in thecontext.How can I configure my
.gomplate.ymlso that the output directory gets all the files from thecommon/directory and then also gets files from an inputDir named after a variable available in the context?Beta Was this translation helpful? Give feedback.
All reactions