summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2020-11-04 18:25:16 +0000
committerFbenas <philbeansburton@gmail.com>2020-11-04 18:25:16 +0000
commit6824dd8cbc1ff5c3a4072be4a0536b6d003bf1d4 (patch)
tree7ac3a83fb0cf1f90f6e0d924da928b41bc524e3c /scripts
Inital CommitHEADmaster
Diffstat (limited to 'scripts')
-rw-r--r--scripts/console.php10
-rw-r--r--scripts/irc.php10
2 files changed, 20 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();
diff --git a/scripts/irc.php b/scripts/irc.php
new file mode 100644
index 0000000..afe401b
--- /dev/null
+++ b/scripts/irc.php
@@ -0,0 +1,10 @@
+<?php
+
+require __DIR__.'/../vendor/autoload.php';
+
+use FBeans\Blaflight\App;
+
+$app = (new App)
+ ->fromStdin()
+ ->toIrc()
+ ->run();