nest generate decorator <decorator>
Generate a custom decorator
Arguments
Name | Description |
---|---|
decorator | The name of the decorator |
Options
Name | Description |
---|---|
-d, --dry-run | Report actions that would be taken without writing out results |
-p, --project <project> | Project in which to generate files |
--flat | Enforce flat structure of generated element |
--spec | Enforce spec files generation (default: true) |
--no-spec | Disable spec files generation |
-c, --collection <collection> | Schematics collection to use |