redwood generate service <name>
Generate a service component
Arguments
Name | Description |
---|---|
name | Name of the service |
Options
Name | Description |
---|---|
--force, -f |
|
--typescript, --ts | Generate TypeScript files Enabled by default if we detect your project is TypeScript |
--tests | Generate test files [default: true] |
--stories | Generate Storybook files [default: true] |