vkelman (54) [Avatar] Offline
I suppose like CLI syntax was changed in Angular 6?

In particular "ng g c product -is -it -spec false" raises an error.

ng g c --help shows schematics different from what is described in a sidebar.

By looking at help try & error I found command which creates inline template and style sheets and turns off generating test (?) file product.component.spec.ts:

ng g c product -s -t --spec false

Yakov Fain (213) [Avatar] Offline
The main change with options in CLI 6 is that it requires two dashes in some cases where it used to allow one dash.
So this works fine: ng g c product -is -it --spec false

The same applies to --prod and --aot