-
Notifications
You must be signed in to change notification settings - Fork 0
/
ace
19 lines (17 loc) · 632 Bytes
/
ace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
|--------------------------------------------------------------------------
| Ace Commands
|--------------------------------------------------------------------------
|
| This file is the entry point for running ace commands. For typescript
| projects, the ace commands will fallback to the compiled code and
| hence this file has to be executable by node directly.
|
*/
require('reflect-metadata')
require('source-map-support').install({ handleUncaughtExceptions: false })
const { Ignitor } = require('@adonisjs/core/build/src/Ignitor')
new Ignitor(__dirname)
.ace()
.handle(process.argv.slice(2))
.catch(console.error)