redwood generate
Save time by generating boilerplate code
Subcommands
Name | Description |
---|---|
cell | Generate a cell component |
component | Generate a component component |
dataMigration | Generate a data migration component |
directive | Generate a directive |
function | Generate a Function |
layout | Generate a layout component |
page | Generate a page component |
scaffold | Generate Pages, SDL, and Services files based on a given DB schema Model. Also accepts <path/model> |
sdl | Generate a GraphQL schema and service object |
service | Generate a service component |
types | Generate types and supplementary code |
script | Generate a script that can use your services/libs to execute with redwood exec script <name> |