g3org3 / yagg

βœ¨πŸš€Simple and fast generator, create your own template in seconds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status npm package

YAGG

Yet Another Great Generator - βœ¨πŸš€ Simple and fast generator, create your own template in seconds

Getting Started

You will need Node >= 6 installed. How do I install node? click here to find out about nvm

Installation

Install the yagg globally

npm install -g yagg

Usage

Add the template

yagg add custom

Now create a new project from template

yagg new custom
? What is the project name? sample-app
? Enter a small description A sample template with yagg
? Enter your email 7jagjag@gmail.com
? Enter your name George

------ YAGG --------
 create dir: [ βœ…  ] ./sample-app/app
 create dir: [ βœ…  ] ./sample-app
  copy file: [ βœ…  ] index.js
  copy file: [ βœ…  ] server.js
  copy file: [ βœ…  ] package.json

Success! ✨🌟 happy coding πŸŽ‰
  cd sample-app

outputs

sample-app
β”œβ”€β”€ app
β”‚   └── server.js
β”œβ”€β”€ index.js
β”œβ”€β”€ node_modules
└── package.json

yagg cli help


  Usage: yagg [options] [command]


  Options:

    -V, --version  output the version number
    -v, --version  output the version number
    -h, --help     output usage information


  Commands:

    new [options] <template> [projectName]  create a new project from a template
    remove <template>                       remove a template
    add <template>                          add a template
    list [options]                          list all available templates

Development

Fork, then clone the repo:

git clone https://github.com/your-username/yagg.git
cd yagg
git remote set-url g3 https://github.com/g3org3/yagg.git
npm install
npm link
yagg --help

Changelog

https://github.com/g3org3/yagg/blob/master/CHANGELOG.md

Contributors

About

βœ¨πŸš€Simple and fast generator, create your own template in seconds

License:MIT License


Languages

Language:JavaScript 98.4%Language:Shell 1.6%