angular / angular-cli

CLI tool for Angular
https://cli.angular.io
MIT License
26.73k stars 11.98k forks source link

ng rename command #22877

Open mgechev opened 2 years ago

mgechev commented 2 years ago

🚀 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).

steven-fernandez commented 2 years ago

That would be a great feature!

MohamedMatrab commented 2 months ago

Yeah We need this feature !