1.0.5 • Published 6 years ago

sails-generate-tgt v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Sails ToolBox Generator TS

A tgt generator for use with the Sails command-line interface.

Installation

$ npm install sails-generate-tgt --save

Then merge the following into your .sailsrc file:

{
  "modules": {
    "tgt": "sails-generate-tgt"
  }
}

Note that instead of "sails-generate-tgt", you can also choose to provide the path to the generator locally (e.g. "./generators/tgt"). This is useful if, for example, you have specific best practices for particular projects or teams within your organization, and you want to be able to check in generators to your code repository.

Certain generators are installed by default in Sails, but they can be overridden. Other generators add support for generating entirely new kinds of things. Check out Concepts > Extending Sails > Generators for information on installing generator overrides / custom generators and information on building your own generators.

Usage

$ sails generate tgt [controller / model] [name]

WIP

The generator of the model is still in development so it is recommended to only use the controller generator

Bugs   NPM version

To report a bug, click here.

Contributing

Please observe the guidelines and conventions laid out in the Sails project contribution guide when opening issues or submitting pull requests.

NPM

License

This cts generator is available under the MIT license.

The Sails framework is free and open-source under the MIT License.

image_squidhome@2x.png

Log Version

v1.0.5

  • FIX: generator controller

v1.0.4

  • The generator for controller and model is reduced to a single template
  • Work continues on the generator of the model
  • It works to correct the , at the end of each action in the generated controller

v1.0.3

  • Controller generator
  • WIP model generator
  • Multi template
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago