diff options
Diffstat (limited to 'src/internal-server/ace')
-rw-r--r-- | src/internal-server/ace | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/internal-server/ace b/src/internal-server/ace new file mode 100644 index 000000000..42f8f10d1 --- /dev/null +++ b/src/internal-server/ace | |||
@@ -0,0 +1,21 @@ | |||
1 | 'use strict' | ||
2 | |||
3 | /* | ||
4 | |-------------------------------------------------------------------------- | ||
5 | | Ace Commands | ||
6 | |-------------------------------------------------------------------------- | ||
7 | | | ||
8 | | The ace file is just a regular Javascript file but with no extension. You | ||
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 | | | ||
14 | */ | ||
15 | |||
16 | const { Ignitor } = require('@adonisjs/ignitor') | ||
17 | |||
18 | new Ignitor(require('@adonisjs/fold')) | ||
19 | .appRoot(__dirname) | ||
20 | .fireAce() | ||
21 | .catch(console.error) | ||