Skip to content

Commit 2d37de4

Browse files
committed
update examples
1 parent 25164fe commit 2d37de4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/docs/api/codeshift-cli.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,13 @@ Create a 'config only' codeshift package in the current directory
223223
Only output a configuration file.
224224

225225
**example:**
226+
226227
Initializes a configuration file only
227228

229+
- `$ codeshift init --config-only path/to/src``
230+
231+
Initializes a configuration file and preset source code
232+
228233
- `$ codeshift init --config-only --preset update-imports path/to/src``
229234

230235
### --version (optional)

0 commit comments

Comments
 (0)