ngx-rocket / generator-ngx-rocket

:rocket: Extensible Angular 14+ enterprise-grade project generator
https://ngx-rocket.github.io/
MIT License
1.53k stars 216 forks source link

Add --preset option #493

Open sinedied opened 5 years ago

sinedied commented 5 years ago

As more and more options are added to the generator (and more are to come!), it can become tedious to quickly setup a project, especially for a quick demo or if you want to generate multiple projects at once.

A simple way to fix that would be to add a --preset <name> option so that we can quickly generate apps in 1 command and no prompt. Furthermore, it could be use to create you own set of preset in gist, github repo or any url. The format would be the same JSON was we use to automate tests.

Here's what I have in mind:

This feature idea was inspired by @creal73 suggestion during a lunch 😉

Suggestions and ideas welcome!