Nest-cli: Generate multiple schematic at once

Created on 16 Jun 2020  路  2Comments  路  Source: nestjs/nest-cli

Feature Request

Is your feature request related to a problem? Please describe.

While nest generate is convenient, it's better if one can generate multiple instances of a schematic at once.

Describe the solution you'd like

e.g. nest g mo module1 module2 ...

Teachability, Documentation, Adoption, Migration Strategy

$ nest generate <schematic> <name> [<name>[ <name>...]] [options]
$ nest g <schematic> <name> [<name>[ <name>...]] [options]

What is the motivation / use case for changing the behavior?

It will reduce the repetitive work.

Most helpful comment

@kamilmysliwiec what is the reason behind the negotiation of adding this feature?

All 2 comments

This isn't something we're looking at adding, but shell scripts are a viable alternative.

@kamilmysliwiec what is the reason behind the negotiation of adding this feature?

Was this page helpful?
0 / 5 - 0 ratings