Use the following command to generate a class in Angular through CLI.
ng generate class myClass [options]

BY Best Interview Question ON 29 May 2020