codeginie
v1.0.37
Published
A simple code generator for Angular, Javascript, Electron and more
Downloads
130
Maintainers
Readme
codeginie
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 codeginie
Usage
Components
$ codeginie 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
$ codeginie ng l admin,client,public
It will create all those layouts into layout directory and will register them in app.module.ts
Services
$ codeginie 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
$ codeginie ng r admin,client,public
It will create all those routes into routes directory and will register them in app.module.ts
$ codeginie el b app_name author_name email
To generate electron app boilerplate
$ codeginie js new app_name author_name email
To generate javascript app boilerplate
License
[MIT]