codegenie

1.0.11 • Public • Published

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

Framework Module Shortcut example
Angular [ng] Component c codegenie ng c navbar,sidebar,dashboard
Layout l codegenie ng l admin,public
Router r codegenie ng r admin,public
Service s codegenie ng s user,product,order,category
Electron [el] Boilerplate b codegenie el b testapp "john doe" johndoe@gmail.com
Javascript [js] Boilerplate new codegenie js new testapp "john doe" johndoe@gmail.com

For Angular App

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

For Electron App

$ codegenie el b app_name author_name email

To generate electron app boilerplate

For Javascript App

$ codegenie js new app_name author_name email

To generate javascript app boilerplate

License

[MIT]

Package Sidebar

Install

npm i codegenie

Weekly Downloads

2

Version

1.0.11

License

MIT

Last publish

Collaborators

  • mayall