8000 GitHub - holsted/gin: Code generator for AngularJS projects written in Node.js
[go: up one dir, main page]

Skip to content
/ gin Public

Code generator for AngularJS projects written in Node.js

Notifications You must be signed in to change notification settings

holsted/gin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#gin

gin is a command line tool that makes creating new files for a project easier.

Installation

If you have ssh keys setup on your machine and GitHub, it's as simple as running

$ npm install andrewholsted/gin -g;

If you don't have ssh set up, take 5 minutes and set it up. You should.

Usage

Creating a Page

gin page <page_name>

It's ok to use spaces in the page name. The generator will convert it to the proper case. The following files will be generated

core/client/app/pages/page-name.js (populated with a stub controller)
core/client/app/pages/page-name.styl
core/client/app/pages/page-name.jade

Creating a Directive

gin directive <directive_name>

The following files will be created

core/client/app/components/directive-name.js 
core/client/app/components/directive-name.styl
core/client/app/components/directive-name.jade

Help

Run --help at any time to see available methods and parameters

A 47AC bout

Code generator for AngularJS projects written in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0