redwood generate directive <name>
Generate a directive
Arguments
Name | Description |
---|---|
name | Name of the directive |
Options
Name | Description |
---|---|
--force, -f |
|
--typescript, --ts | Generate TypeScript files Enabled by default if we detect your project is TypeScript |
--type | Directive type [Choices: "validator", "transformer"] |