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
165165
166166- ` $ codeshift init `
167167
168- Create a 'config only' codeshift package in the current
168+ Create a 'config only' codeshift package in the current directory
169169
170- - ` $ codeshift init --config-only `
170+ - ` $ codeshift init --config-only . `
171171
172172### --version (optional)
173173
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ const App = () => (
205205 </ div >
206206 < div className = "col col--8" >
207207 < CodeBlock className = "language-bash" >
208- $ codeshift init --packageName foobar
208+ $ npx @ codeshift/cli init --packageName foobar
209209 </ CodeBlock >
210210 </ div >
211211 </ div >
@@ -309,7 +309,7 @@ export default transformer;`}</CodeBlock>
309309 </ div >
310310 < div className = "col col--8" >
311311 < 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
313313 </ CodeBlock >
314314 </ div >
315315 </ div >
You can’t perform that action at this time.
0 commit comments