angular cli create component with module code example
Example 1: generate component with module angular 8
ng g m home --route home --module app.module
Example 2: angular cli create component
plainsight/some-name/some-name.component.ts
ng g m home --route home --module app.module
plainsight/some-name/some-name.component.ts