2020-04-10 12:40:13 +00:00
|
|
|
/********************************************************************************************
|
|
|
|
* ADONIS CHEATSHEET
|
|
|
|
* https://adonisjs.com/
|
|
|
|
********************************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************************************
|
|
|
|
* AVAILABLE CLI COMMANDS
|
|
|
|
********************************************************************************************/
|
|
|
|
|
2020-04-10 16:00:31 +00:00
|
|
|
build // Compile typescript code to Javascript. Optionally watch for file changes
|
|
|
|
invoke // Invoke post install instructions on a given AdonisJs package
|
|
|
|
serve // Compile typescript code to Javascript and start the HTTP server
|
2020-04-10 12:40:13 +00:00
|
|
|
|
|
|
|
// Dump
|
|
|
|
|
2020-04-10 16:00:31 +00:00
|
|
|
dump:rcfile // Dump contents of .adonisrc.json file along with defaults
|
2020-04-10 12:40:13 +00:00
|
|
|
|
|
|
|
// Generate
|
|
|
|
|
2020-04-10 16:00:31 +00:00
|
|
|
generate:key // Generate a new APP_KEY secret
|
|
|
|
generate:manifest // Generate manifest file to execute ace commands
|
2020-04-10 12:40:13 +00:00
|
|
|
|
|
|
|
// List
|
|
|
|
|
2020-04-10 16:00:31 +00:00
|
|
|
list:routes // List application routes
|
2020-04-10 12:40:13 +00:00
|
|
|
|
|
|
|
// Make
|
|
|
|
|
2020-04-10 16:00:31 +00:00
|
|
|
make:command // Make a new ace command
|
|
|
|
make:controller // Make a new HTTP controller
|
|
|
|
make:middleware // Make a new middleware
|
|
|
|
make:migration // Make a new migration
|
|
|
|
make:provider // Make a new IoC container provider
|
|
|
|
make:validator // Make a new validator
|
|
|
|
make:view // Make a new view template
|
|
|
|
|
|
|
|
// Migrations
|
|
|
|
|
|
|
|
make:migration // Create a new migration file.
|
|
|
|
migration:run // Run all pending migrations.
|
|
|
|
migration:rollback // Rollback last set of migrations.
|
|
|
|
migration:refresh // Rollback all migrations to the 0 batch then re-run them from the start.
|
|
|
|
migration:reset // Rollback all migrations to the 0 batch.
|
|
|
|
migration:status // Get the status of all the migrations.
|
|
|
|
|