nx
nx copied to clipboard
`@nrwl/angular:stories` – rename the `name` flag to `project`/`projectName`
- [x] I'd be willing to implement this feature (contributing guide)
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
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!