The angular-cli tool can help you to scaffold different parts of an angular application (components, directives, pipes, services, classes, guards, interfaces, enums and modules).
ng generate [component | directive | service | pipe | class | enum | interface | guard | module] [name] [flags...]
...