Skip to content

Commit 847db73

Browse files
committed
Rename executable
1 parent 9e0822f commit 847db73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ composer require riverwaysoft/php-converter --dev
1616

1717
2) Copy executable file
1818
```
19-
cp vendor/riverwaysoft/php-converter/bin/php-generator bin/php-generator
19+
cp vendor/riverwaysoft/php-converter/bin/dto-converter bin/dto-converter
2020
```
2121

2222
3) Mark a few classes with `#[Dto]` annotation to convert them into TypeScript or Dart
@@ -45,7 +45,7 @@ class UserWithFriendsDto
4545

4646
4) Run CLI command to generate TypeScript or Dart
4747
```bash
48-
bin/php-generator generate --from=/path/to/project/src --to=.
48+
bin/dto-converter generate --from=/path/to/project/src --to=.
4949
```
5050

5151
You'll get file `generated.ts` with the following contents:
File renamed without changes.

0 commit comments

Comments
 (0)