ng generate [entity] [entity-name]
src/app/[entity-name].[entity].ts
along with a spec file, or at the current path if the command is executed in a child folder of the project. The CLI provides blueprints for the following entities out of the box:ng g component [name]
ng g directive [name]
ng g pipe [name]
ng g service [name]
ng g class [name]
ng g route [name]