npm install generator-trails[![Gitter][gitter-image]][gitter-url]
[![NPM version][npm-image]][npm-url]
[![Linux + OSX Build Status][ci-image]][ci-url]
[![Windows Build Status][appveyor-image]][appveyor-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Follow @trailsjs on Twitter][twitter-image]][twitter-url]
Trails Yeoman Generator.
Make sure you are using a recent version of yeoman (>=1.8). You can install the latest Yeoman with npm i -g yo
``sh
$ 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
Create New Controller
yo trails:controller
Create New Policy
yo trails:policy
Create New Service
yo trails:service
Create New Trailpack
yo trails:trailpack --new
Create new Configuration File
yo trails:config
Install Trailpacks into a Trails Application
yo trails:trailpack --install
``
We love contributions! Please see our Contribution Guide
for more information.

[npm-image]: https://img.shields.io/npm/v/generator-trails.svg?style=flat-square
[npm-url]: https://npmjs.org/package/generator-trails
[ci-image]: https://img.shields.io/travis/trailsjs/generator-trails.svg?style=flat-square&label=Linux%20/%20OSX
[ci-url]: https://travis-ci.org/trailsjs/generator-trails
[appveyor-image]: https://img.shields.io/appveyor/ci/trailsjs/generator-trails/master.svg?style=flat-square&label=Windows
[appveyor-url]: https://ci.appveyor.com/project/trailsjs/generator-trails
[daviddm-image]: http://img.shields.io/david/trailsjs/generator-trails.svg?style=flat-square
[daviddm-url]: https://david-dm.org/trailsjs/generator-trails
[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square
[gitter-url]: https://gitter.im/trailsjs/trails
[twitter-image]: https://img.shields.io/twitter/follow/trailsjs.svg?style=social
[twitter-url]: https://twitter.com/trailsjs