nx icon indicating copy to clipboard operation
nx copied to clipboard

`@nrwl/angular:stories` – rename the `name` flag to `project`/`projectName`

Open theorlovsky opened this issue 2 years ago • 0 comments

Description

Currently, all the other generator (that I'm aware of) specify a project name as project or projectName, which makes sense. It's obvious what you should pass to it even without reading a flag description. Moreover, some UI plugins (Nx Console Idea in our case) rely on that names and suggest autocompletion, which is veeery convenient, and which is not happening with just name.

Motivation

Autocompletion ❤️

Suggested Implementation

Rename name to project or projectName

Alternate Implementations

theorlovsky avatar Aug 05 '22 13:08 theorlovsky

Hi there @theorlovsky ! Thank you very much for the suggestion. No need to make this change, however! The name is aliased to project and projectName and the dropdown to the UI plugins should be working since last month! Making that change would not be backwards compatible and it could break some custom configurations of people. Since the three keywords can be used interchangeably due to the aliases, there's really no need to make that change! :)

Let me know if this helps, and if you think we should still go ahead with the change, and I will reopen this issue!

Screenshot 2022-08-29 at 5 41 30 PM

mandarini avatar Aug 29 '22 14:08 mandarini