Skip to content

Commit e6f2d23

Browse files
feat: support easy use of custom wizer bin (#323)
1 parent fea0354 commit e6f2d23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cli.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export async function componentizeCmd(jsSource, opts) {
1616
debugBindings: opts.debugBindings,
1717
debugBuild: opts.useDebugBuild,
1818
enableWizerLogging: opts.enableWizerLogging,
19+
wizerBin: opts.wizerBin,
1920
});
2021
await writeFile(opts.out, component);
2122
}
@@ -43,6 +44,10 @@ program
4344
'--enable-wizer-logging',
4445
'enable debug logging for calls in the generated component',
4546
)
47+
.option(
48+
'--wizer-bin <path>',
49+
'specify a path to a local wizer binary',
50+
)
4651
.requiredOption('-o, --out <out>', 'output component file')
4752
.action(asyncAction(componentizeCmd));
4853

0 commit comments

Comments
 (0)