Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sumory/xgen

generate code from a given template
https://github.com/sumory/xgen

Last synced: 29 days ago
JSON representation

generate code from a given template

Awesome Lists containing this project

README

        

# xgen

xgen, inspired by [ngen](https://github.com/visionmedia/ngen)

## Install

```
npm install -g xgen
```

## Usage

```
Usage: xgen [options]

Options:

-h, --help output usage information
-v, --version output the version number
-t, --template Use the template
-d, --destination Use the destination directory

Usage: xgen [options]

Demos:

xgen use template to generate under current directory
xgen -d /data/projects use template to generate under directory
xgen -d just_here use template to generate under folder which is a relative path
xgen -t my_own_template use template to generate under current directory
xgen -t my_own_template -d /data/projects use template to generate under directory

find more info - github.com/sumory/xgen
```