Skip to content

Commit e7a60c6

Browse files
authored
Merge pull request #128 from jwlawrence/increase-jscodeshift-options-support
Added some more default options for jscodeshift command line args
2 parents 0f7837d + bfede23 commit e7a60c6

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)