nest generate library <library>
Generate a new library within a monorepo
Arguments
Name | Description |
---|---|
library | The name of the library |
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 |