0.6.1 • Published 8 years ago
stackerjs-forklift v0.6.1

Forklift
Command line manager for StackerJS applications.
Installation
npm install -g stackerjs-forkliftCommands
MVC
Controllers
Creating a controller
forklift mvc:controller:create ExampleController.jsCreating typescript controller
forklift mvc:controller:create ExampleController.tsEntities
Creating an Entity
forklift mvc:entity:create ExampleEntity.jsCreating a Typescript Entity
forklift mvc:entity:create ExampleEntity.tsDB
Migrations
Creating a migration file
forklift mvc:migrate:create createTableRequirements
# Creates a file at /path/to/project/storage/database/migrationsExecuting migrations
forklift mvc:migrate:upExecuting rollbacks/downgrades
forklift mvc:migrate:down