This command allows you to generate files and applications. The list of options is pretty long as you can see in the Angular CLI Tutorial. The same command is also shortened to ng g
.
One of the examples would be to generate a new component, then you would call the
ng generate component component_name
or doing the same shorter
ng g c component_name
If you do not want to search the web for info you can still ask for the commands via help menu
ng g --help