Skip to content

Commit 0ea77bf

Browse files
committed
minor doc tweeks
1 parent 4f8fc2c commit 0ea77bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

website/docs/api/codeshift-cli.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

website/src/pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 [email protected] path/to/src
312+
$ npx @codeshift/cli -p [email protected] path/to/src
313313
</CodeBlock>
314314
</div>
315315
</div>

0 commit comments

Comments
 (0)