Ionic g provider not generating properly



I am pretty new to ionic community.
I was going through this article

In this article it says to run this code ionic g provider PeopleService for generating @Injectable class called PeopleService in app/providers/people-service/people-service.ts

My question is, when I am running the above code in CLI, I am getting a single file people-service.ts under src/providers, it is not creating a folder people-service inside providers folder.

What could be wrong?

Please advise.
Thank you.


Okay, got it, now ionic2 doesn’t create providers in app folder, instead in src folder.