You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rewrite-javascript/rewrite/src/cli/rewrite.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ async function main() {
176
176
program
177
177
.name('rewrite')
178
178
.description('Run OpenRewrite recipes on your codebase')
179
-
.argument('<recipe>','Recipe to run in format "package:recipe" (e.g., "@openrewrite/recipes-nodejs:replace-deprecated-slice")')
179
+
.argument('<recipe>','Recipe to run in format "package:recipe" or "path:recipe" (e.g., "@openrewrite/recipes-nodejs:replace-deprecated-slice" or "./dist:my-recipe")')
180
180
.argument('[paths...]','Files or directories to process (defaults to project root)')
181
181
.option('--apply','Apply changes to files (default is dry-run showing diffs)',false)
182
182
.option('-l, --list','Only list paths of files that would be changed',false)
0 commit comments