Skip to content
Ivan Montiel edited this page Jan 14, 2017 · 1 revision

We should get vorpal set up with the following commands:

sk help
sk list
sk changes

sk --help            -h
sk --quiet           -q
sk --version         -v
sk --no-interaction  -n
sk --verbose


// Put the application into maintenance mode
sk down
// Bring the application out of maintenance mode
sk up

// List all the routes
sk routes

// Create a new command
sk command:make name [--command[="..."]] [--path[=["..."]] [--namespace[="..."]]
// Seed the database with records
sk db:seed [--class[="..."]] [--database[="..."]]

// Database migrations
// Database migrations
sk migrate [--bench="vendor/package"] [--database[="..."]] [--path[="..."]] [--package[="..."]] [--pretend] [--seed]
// Create the migration repository
sk migrate:install [--database[="..."]]
// Create a new migration file
sk migrate:make name [--bench="vendor/package"] [--create] [--package[="..."]] [--path[="..."]] [--table[="..."]]
// Reset and re-run all migrations
sk migrate:refresh [--database[="..."]] [--seed]
// Rollback all database migrations
sk migrate:reset [--database[="..."]] [--pretend]
// Rollback the last database migration
sk migrate:rollback [--database[="..."]] [--pretend]
// Publish a package's migrations to migration directory
sk migrate:publish vendor/package

For file templates, we should just defer to yoeman with some presets bundled with this package.

Clone this wiki locally