In this tutorial im going to learn how to generate component and module in Angular JS using command.
1ste step
ng generate component login

2nd step
ng generate m user-auth

3rd step
How to Generate Class in Angular
ng generate class Dummy

How to crate Interface in Angular?
ng g interface dummyInterface

How to Generate Build file in Angular?
ng build

I hope its helpful command for you.