Skip to content

Commit 8b75589

Browse files
committed
add missing aliases
1 parent 7ba6d9f commit 8b75589

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/cli.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ prog
2727
.describe('Rebuilds on any change')
2828
.action(opts => run(opts, true));
2929

30-
prog.parse(process.argv);
30+
// Parse argv; add extra aliases
31+
prog.parse(process.argv, {
32+
alias: {
33+
o: ['output', 'd'],
34+
i: ['entry', 'entries', 'e']
35+
}
36+
});
3137

3238
function run(options, watch) {
3339
options.entries = options._;

0 commit comments

Comments
 (0)