0.1.1 • Published 10 years ago

genli v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Genli

Genli is a command line code generator for Angular 2 applications. It generates single files (components, directives..) or entire applications. It's currently very basic and has only a few commands, but i plan on implementing quit a lot of functionality and add code generation for node applications using typescript.

Setup

Install globally for easiest use.

npm install -g genli

Creating apps

The apps generated are as light as possible. They serve as a starting point for Angular 2 applications. Unfortunately the generator doesn't create a package.json file and doesn't call npm install. I plan on implementing this functionality later. For now call the following commands after genli.

npm init 
... 
npm install --save angular2 systemjs es6-promise es6-shim reflect-metadata rxjs zone.js
CommandFunctionality
-c or -component fileNameCreate a component
-d or -directive fileNameCreate a directive
-s or -service fileNameCreate a service
-p or -pipe fileNameCreate a pipe
genli -c test 

This command generates: test.component.ts

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago