ng rename command
🚀 Feature request
Command (mark with an x)
Create a new command called ng rename which renames a project.
Description
Renaming a project currently requires manually updating configuration and file names. This is error prone - can break our CLI workspace.
Describe the solution you'd like
To simplify the process, we can consider implementing an ng rename command:
ng rename [project-name] [new-project-name]
Describe alternatives you've considered
Documenting the approach is an alternative, but looks like folks are generally interested in an automated way to achieve this (see https://github.com/angular/angular/issues/39909#issuecomment-425163941).
That would be a great feature!
Yeah We need this feature !
Nice idea!
Besides renaming projects, it should also be possible to rename components etc. See https://github.com/angular/angular-cli/issues/900 (which has been closed due to inactivity) this stackoverflow question https://stackoverflow.com/questions/46411036/how-to-rename-a-component-in-angular-cli, and these featurerequests: VScode https://github.com/angular/vscode-ng-language-service/issues/815 Jetbrains https://youtrack.jetbrains.com/issue/WEB-48390/Renaming-Angular-components-should-rename-directories-and-related-files-and-vise-verse
Can I work on this? is it still valid? cc @alan-agius4
Is this issue only about renaming the project, or also components?