generator-trails

3.0.2 • Public • Published

generator-trails

Gitter NPM version Linux + OSX Build Status Windows Build Status Dependency Status Follow @trailsjs on Twitter

Trails Yeoman Generator.

Usage

Make sure you are using a recent version of yeoman (>=1.8). You can install the latest Yeoman with npm i -g yo

$ npm install -g yo
$ yo trails --help
 
Usage:
  yo trails [options] 
 
Options:
        --help          # Print the generator's options and usage 
        --skip-cache    # Do not remember prompt answers             Default: false 
        --skip-install  # Do not automatically install dependencies  Default: false 
        --skip-update   # Do not check for generator's updates       Default: false 
        --force         # Force. Do stuff even if you shouldn't.     Default: false 
 
Generators:
 
  Create New Model
    yo trails:model <model-name>
 
  Create New Controller
    yo trails:controller <controller-name>
 
  Create New Policy
    yo trails:policy <policy-name>
 
  Create New Service
    yo trails:service <service-name>
 
  Create New Trailpack
    yo trails:trailpack --new
 
  Create new Configuration File
    yo trails:config <config-name>
    
  Install Trailpacks into a Trails Application
    yo trails:trailpack --install <trailpacks-name> (like yo trails:trailpack trailpack-repl,trailpack-webpack,...)

Contributing

We love contributions! Please see our Contribution Guide for more information.

License

MIT

Dependencies (9)

Dev Dependencies (5)

Package Sidebar

Install

npm i generator-trails

Weekly Downloads

18

Version

3.0.2

License

MIT

Last publish

Collaborators

  • trails