redwood generate

Save time by generating boilerplate code

Subcommands

NameDescription
cellGenerate a cell component
componentGenerate a component component
dataMigrationGenerate a data migration component
directiveGenerate a directive
functionGenerate a Function
layoutGenerate a layout component
pageGenerate a page component
scaffoldGenerate Pages, SDL, and Services files based on a given DB schema Model. Also accepts <path/model>
sdlGenerate a GraphQL schema and service object
serviceGenerate a service component
typesGenerate types and supplementary code
scriptGenerate a script that can use your services/libs to execute with redwood exec script <name>