angular create a model class CLI code example
Example 1: angular generat model
ng generate class hero --type=model
Example 2: ng g
ng g directive <name> [options]
ng generate class hero --type=model
ng g directive <name> [options]