npm install -g @noopejs/rgen
rgen new app myApp
cd myApp && npm run dev
rgen new module about
This command will generate the following files:
src/
-- about/
---- about.module.ts
---- about.service.ts
---- about.component.tsx
It's also possible to generate a single unit [moduleClass, service, moduleComponent] by specifying option as follows:
rgen new moduleClass about
rgen new service about
rgen new moduleComponent about