summaryrefslogtreecommitdiff
path: root/cli-config.php
diff options
context:
space:
mode:
Diffstat (limited to 'cli-config.php')
-rw-r--r--cli-config.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli-config.php b/cli-config.php
new file mode 100644
index 0000000..917e29f
--- /dev/null
+++ b/cli-config.php
@@ -0,0 +1,10 @@
+<?php
+
+use Elements\DB;
+
+#require_once __DIR__ . '/vendor/autoload.php';
+
+DB::init();
+
+return \Doctrine\ORM\Tools\Console\ConsoleRunner::createHelperSet(DB::$entityManager);
+