This commit is contained in:
Brandon Millman 2018-01-31 14:41:37 -08:00
parent 89547332ee
commit 78fbf0f7ba
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# CHANGELOG
## v0.2.0 - _???_
* Added CLI options for explicit specifying location of partials and main template (#346)
## v0.1.0 - _January 11, 2018_

View File

@ -42,8 +42,10 @@ const args = yargs
demandOption: true,
normalize: true,
})
.example("$0 --abis 'src/artifacts/**/*.json' --out 'src/contracts/generated/' --partials 'src/templates/partials/**/*.handlebars' --template 'src/templates/contract.handlebars'", 'Full usage example')
.argv;
.example(
"$0 --abis 'src/artifacts/**/*.json' --out 'src/contracts/generated/' --partials 'src/templates/partials/**/*.handlebars' --template 'src/templates/contract.handlebars'",
'Full usage example',
).argv;
function registerPartials(partialsGlob: string) {
const partialTemplateFileNames = globSync(partialsGlob);