Angular Commands(Version Angular 11.2)
// Flat specify create admin component without admin folder as
// normally it generate the files within in the admin folder
ng generate component admin --flat
//Flat and spec specify create admin component without admin folder //and without specification file respectively.
ng generate component admin --flat=true --spec=false
ng g c -is --skipTests=true CategoryComponent
// is for skipping inline css and spec files
//To create model
ng generate class cartItem --type=model