Skip to content

Commit f62a631

Browse files
authored
Add --includeRelations config to typescriptify:model command
1 parent 0c461b2 commit f62a631

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ Usage:
1616
typescriptify:model [options] [--] <model>
1717
1818
Arguments:
19-
model The fully qualified class name for the model - e.g. App\Models\User
19+
model The fully qualified class name for the model - e.g. App\Models\User
2020
2121
Options:
22-
--includeHidden Include the protected $hidden properties
22+
--includeHidden[=INCLUDEHIDDEN] Include the protected $hidden properties [default: "false"]
23+
--includeRelations[=INCLUDERELATIONS] Map foreign key columns to interface definitions [default: "true"]
2324
```
2425

2526
## Example Usage

0 commit comments

Comments
 (0)