Skip to content

Consistent naming of options and arguments that do the same thing #12784

@alan-agius4

Description

@alan-agius4

At the moment, certain options and arguments that do the same thing should are not named the same across all schematics.

In ng new to skip the creation of spec files, one needs to use --skip-test, with an alias of -S, while in other schematics it is --spec and no alias.

In the component schematics ng generate component, to specify the style preprocessor you need to use --styleext, while in ng new this is named --style

We should discuss this, choose the preferred namings and align all the same options to make it easier for the users.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions