Skip to content

Commit 3ce2dd9

Browse files
aulisiusSunil Pai
authored andcommitted
Add --explicit-require to CLI help command (#248)
1 parent c90afb3 commit 3ce2dd9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/cli.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,10 @@ function run() {
220220
path Files or directory to transform. Can be a glob like src/**.test.js
221221
222222
Options
223-
--force Bypass Git safety checks and forcibly run codemods
224-
--dry Dry run (no changes are made to files)
225-
--print Print transformed files to your terminal
223+
--force Bypass Git safety checks and forcibly run codemods
224+
--dry Dry run (no changes are made to files)
225+
--print Print transformed files to your terminal
226+
--explicit-require Transform only if React is imported in the file (default: true)
226227
227228
--jscodeshift (Advanced) Pass options directly to jscodeshift
228229
`

0 commit comments

Comments
 (0)