codegenie
v1.0.11
Published
A simple code generator for Angular, Javascript, Electron and more
Downloads
42
Maintainers
Readme
CodeGenie
A simple code generator to start an angular project by creating components, layouts, services and routes within a minute. It also generates Electron app boilerplate. It is growing ...
Install
npm i -g codegenie
Usage
Components
$ codegenie ng c admin/navbar,sidebar,dashboard,area,order,category,product
It will create all those components into admin directory and will register them in app.module.ts. You you not provide folder name it will create component into root directory. You can also nested multiple sub directories by seperating them using forward slashes.
Layouts
$ codegenie ng l admin,client,public
It will create all those layouts into layout directory and will register them in app.module.ts
Services
$ codegenie ng s user,area,product,category,order
It will create all those services into service directory and will register them in app.module.ts
Routes
$ codegenie ng r admin,client,public
It will create all those routes into routes directory and will register them in app.module.ts
$ codegenie el b app_name author_name email
To generate electron app boilerplate
$ codegenie js new app_name author_name email
To generate javascript app boilerplate
License
[MIT]