ge
Generate code, config files, or anything you want!
Last updated 6 years ago by ricardo.rossi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ge -g
SYNC missed versions from official npm registry.

ge - The Code Generator

Generate code, config files, or anything you want!

NPM
NPM version [Travis](https://travis-ci .org/ricardo-rossi/ge)

Overview

The goal of this project is to provide an easy to use mechanism for generating common boilerplate code, regardless of which programming language or functionality it provides. This project should also provide an easy way for developers to to plug in new code templates and tasks for generating just about any kind of code.

Prerequisites

Install the dependencies for this project:

If you are having issues please see How to install Node.js and npm

Getting Started

Install ge using the -g (global) flag

npm install -g ge

Usage

ge -t relative/path/to/template

Generated files will be placed under ./build relative to your current dir.

Examples

Please see some template examples in the /samples directory

Running The Examples

Copy the /samples folder to your current directory and run any of the examples like this:

ge -t samples/1_hello
ge -t samples/2_filename
ge -t samples/3_filename_var
ge -t samples/4_helper
ge -t samples/5_iterator
ge -t samples/6_conditional

The generated files will be placed under the ./build directory (relative to your current dir)

Attributions

Static generation by Metalsmith

License

Created by: Ricardo Rossi

Licensed under the MIT license

Current Tags

  • 0.0.4                                ...           latest (6 years ago)

4 Versions

  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |