aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-02-01 06:41:37 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-02-01 06:41:37 +0800
commit78fbf0f7bade62a3d1c36bddf20cbe89c86aac18 (patch)
tree5a7b3b1601cf34c14be2ba462f5fd2db711e1f2b
parent89547332eef489a8f258300224cf632dad12fe61 (diff)
downloaddexon-sol-tools-78fbf0f7bade62a3d1c36bddf20cbe89c86aac18.tar
dexon-sol-tools-78fbf0f7bade62a3d1c36bddf20cbe89c86aac18.tar.gz
dexon-sol-tools-78fbf0f7bade62a3d1c36bddf20cbe89c86aac18.tar.bz2
dexon-sol-tools-78fbf0f7bade62a3d1c36bddf20cbe89c86aac18.tar.lz
dexon-sol-tools-78fbf0f7bade62a3d1c36bddf20cbe89c86aac18.tar.xz
dexon-sol-tools-78fbf0f7bade62a3d1c36bddf20cbe89c86aac18.tar.zst
dexon-sol-tools-78fbf0f7bade62a3d1c36bddf20cbe89c86aac18.zip
Prettier
-rw-r--r--packages/abi-gen/CHANGELOG.md1
-rw-r--r--packages/abi-gen/src/index.ts6
2 files changed, 5 insertions, 2 deletions
diff --git a/packages/abi-gen/CHANGELOG.md b/packages/abi-gen/CHANGELOG.md
index 9247b315a..ffa8a7a35 100644
--- a/packages/abi-gen/CHANGELOG.md
+++ b/packages/abi-gen/CHANGELOG.md
@@ -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_
diff --git a/packages/abi-gen/src/index.ts b/packages/abi-gen/src/index.ts
index 5412d11ce..fe2b56524 100644
--- a/packages/abi-gen/src/index.ts
+++ b/packages/abi-gen/src/index.ts
@@ -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);