summaryrefslogtreecommitdiff
path: root/scripts/console.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/console.php')
-rw-r--r--scripts/console.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/console.php b/scripts/console.php
new file mode 100644
index 0000000..51b6020
--- /dev/null
+++ b/scripts/console.php
@@ -0,0 +1,10 @@
+<?php
+
+require __DIR__.'/../vendor/autoload.php';
+
+use FBeans\Blaflight\App;
+
+$app = (new App)
+ ->fromStdin()
+ ->toConsole()
+ ->run();