Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sumory/xgen
- Owner: sumory
- Created: 2014-03-08T13:07:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-08T16:32:23.000Z (almost 11 years ago)
- Last Synced: 2024-11-16T03:48:24.887Z (about 2 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 directoryUsage: 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 directoryfind more info - github.com/sumory/xgen
```