angular cli cmd for module with code example
Example 1: angular cli generate new module
ng generate module module-name
Example 2: angular cli create component
plainsight/some-name/some-name.component.ts
ng generate module module-name
plainsight/some-name/some-name.component.ts