Minimalist Angular Cli generate example
ng g c hero-component --flat -it -is --skipTests
-is
for inline css, preventing style file creation--flat
to prevent folder creation-it
for inline template, preventing html file creation--skipTests
to prevent .spec file creation
Link to the Angular doc reference https://angular
With all these parameters together,
The cli creates a single .ts file in the current folder and links it in the module.