redwood generate scaffold <model>
Generate Pages, SDL, and Services files based on a given DB schema Model. Also accepts <path/model>
Arguments
| Name | Description |
|---|---|
model | Model to scaffold. You can also use <path/model> to nest files by type at the given path directory (or directories). For example, redwood g scaffold admin/post |
Options
| Name | Description |
|---|---|
--force, -f |
|
--typescript, --ts | Generate TypeScript files Enabled by default if we detect your project is TypeScript |