How to rename Service created by @Angular/cli using command

angular, angular-cli

Solution

Currently Angular CLI doesn't support the feature of renaming or refactoring code. You can achieve such functionality with help of some IDE's

You can use Microsoft Visual studio code to achieve this with the help of a plugin

More details can be found here

you can follow the same steps described here

How to rename a component in Angular CLI?

Problem

I created a service `team-secret.service` using command `n g s team-secret` But now I want to rename it `team.service` using command. Any help would be appreciated.

Original source

Related problems