ace 621 B

12345678910111213141516171819202122
  1. 'use strict'
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Ace Commands
  5. |--------------------------------------------------------------------------
  6. |
  7. | The ace file is just a regular Javascript file but with no extension. You
  8. | can call `node ace` followed by the command name and it just works.
  9. |
  10. | Also you can use `adonis` followed by the command name, since the adonis
  11. | global proxy all the ace commands.
  12. |
  13. */
  14. const { Ignitor } = require('@adonisjs/ignitor')
  15. new Ignitor(require('@adonisjs/fold'))
  16. .appRoot(__dirname)
  17. .fireAce()
  18. .catch(console.error)