aboutsummaryrefslogtreecommitdiffstats
path: root/ace
diff options
context:
space:
mode:
Diffstat (limited to 'ace')
-rw-r--r--ace19
1 files changed, 7 insertions, 12 deletions
diff --git a/ace b/ace
index 42f8f10..c175031 100644
--- a/ace
+++ b/ace
@@ -1,21 +1,16 @@
1'use strict'
2
3/* 1/*
4|-------------------------------------------------------------------------- 2|--------------------------------------------------------------------------
5| Ace Commands 3| Ace Commands
6|-------------------------------------------------------------------------- 4|--------------------------------------------------------------------------
7| 5|
8| The ace file is just a regular Javascript file but with no extension. You 6| This file is the entry point for running ace commands.
9| can call `node ace` followed by the command name and it just works.
10|
11| Also you can use `adonis` followed by the command name, since the adonis
12| global proxies all the ace commands.
13| 7|
14*/ 8*/
15 9
16const { Ignitor } = require('@adonisjs/ignitor') 10require('reflect-metadata')
11require('source-map-support').install({ handleUncaughtExceptions: false })
17 12
18new Ignitor(require('@adonisjs/fold')) 13const { Ignitor } = require('@adonisjs/core/build/standalone')
19 .appRoot(__dirname) 14new Ignitor(__dirname)
20 .fireAce() 15 .ace()
21 .catch(console.error) 16 .handle(process.argv.slice(2))