redwood generate directive <name>

Generate a directive

Arguments

NameDescription
nameName of the directive

Options

NameDescription
--force, -f
  • Dangerous 💥
--typescript, --tsGenerate TypeScript files Enabled by default if we detect your project is TypeScript
--typeDirective type [Choices: "validator", "transformer"]