stackerjs-forklift
v0.6.1
Published
[![Travis](https://img.shields.io/travis/parpeoficial/stackerjs-forklift.svg)](https://travis-ci.org/parpeoficial/stackerjs-forklift) [![Maintainability](https://api.codeclimate.com/v1/badges/35f0d9b2c8798f66d10a/maintainability)](https://codeclimate.com/
Downloads
2
Readme
Forklift
Command line manager for StackerJS applications.
Installation
npm install -g stackerjs-forklift
Commands
MVC
Controllers
Creating a controller
forklift mvc:controller:create ExampleController.js
Creating typescript controller
forklift mvc:controller:create ExampleController.ts
Entities
Creating an Entity
forklift mvc:entity:create ExampleEntity.js
Creating a Typescript Entity
forklift mvc:entity:create ExampleEntity.ts
DB
Migrations
Creating a migration file
forklift mvc:migrate:create createTableRequirements
# Creates a file at /path/to/project/storage/database/migrations
Executing migrations
forklift mvc:migrate:up
Executing rollbacks/downgrades
forklift mvc:migrate:down