aboutsummaryrefslogtreecommitdiffstats
path: root/commands/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'commands/index.ts')
-rw-r--r--commands/index.ts21
1 files changed, 0 insertions, 21 deletions
diff --git a/commands/index.ts b/commands/index.ts
deleted file mode 100644
index d2ad5fb..0000000
--- a/commands/index.ts
+++ /dev/null
@@ -1,21 +0,0 @@
1import { listDirectoryFiles } from '@adonisjs/core/build/standalone';
2import Application from '@ioc:Adonis/Core/Application';
3
4/*
5|--------------------------------------------------------------------------
6| Exporting an array of commands
7|--------------------------------------------------------------------------
8|
9| Instead of manually exporting each file from this directory, we use the
10| helper `listDirectoryFiles` to recursively collect and export an array
11| of filenames.
12|
13| Couple of things to note:
14|
15| 1. The file path must be relative from the project root and not this directory.
16| 2. We must ignore this file to avoid getting into an infinite loop
17|
18*/
19export default listDirectoryFiles(__dirname, Application.appRoot, [
20 './commands/index',
21]);