generate code from a given template
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
.gitignore
.npmignore
README.md
package.json
template.js
xgen.js

README.md

xgen

xgen, inspired by ngen

Install

npm install -g xgen

Usage

Usage: xgen [options]

  Options:

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


  Usage: xgen [options]

  Demos:

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

find more info - github.com/sumory/xgen