Skip to content

Commit bfede23

Browse files
author
Joshua Lawrence
committed
Added some more default options for jscodeshift command line args
1 parent d778e5d commit bfede23

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/options-support.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
const yargs = require('yargs');
22

3-
const jsCodeShiftOptions = ['ignore-config', 'ignore-pattern'];
3+
const jsCodeShiftOptions = [
4+
'dry',
5+
'ignore-config',
6+
'ignore-pattern',
7+
'print',
8+
'run-in-band',
9+
'silent',
10+
'verbose',
11+
];
412

513
function parseTransformArgs(args, codeShiftOptions = jsCodeShiftOptions) {
614
let parsedArgs = yargs.parse(args);

0 commit comments

Comments
 (0)