File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,9 @@ Create an empty codeshift package called foobar in the current directory
165
165
166
166
- ` $ codeshift init `
167
167
168
- Create a 'config only' codeshift package in the current
168
+ Create a 'config only' codeshift package in the current directory
169
169
170
- - ` $ codeshift init --config-only `
170
+ - ` $ codeshift init --config-only . `
171
171
172
172
### --version (optional)
173
173
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ const App = () => (
205
205
</ div >
206
206
< div className = "col col--8" >
207
207
< CodeBlock className = "language-bash" >
208
- $ codeshift init --packageName foobar
208
+ $ npx @ codeshift/cli init --packageName foobar
209
209
</ CodeBlock >
210
210
</ div >
211
211
</ div >
@@ -309,7 +309,7 @@ export default transformer;`}</CodeBlock>
309
309
</ div >
310
310
< div className = "col col--8" >
311
311
< CodeBlock className = "language-bash" >
312
- $ codeshift -p foobar@12.0.0 path/to/src
312
+ $ npx @ codeshift/cli -p foobar@12.0.0 path/to/src
313
313
</ CodeBlock >
314
314
</ div >
315
315
</ div >
You can’t perform that action at this time.
0 commit comments