summaryrefslogtreecommitdiff
path: root/src/Client/Script/Console.php
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2018-02-18 22:29:36 +0000
committerFbenas <philbeansburton@gmail.com>2018-02-18 22:29:36 +0000
commit62146c4027e48cfbdb4f518de137de8430392e24 (patch)
tree791efd0bdccf4f23302428539a0fdc1047502646 /src/Client/Script/Console.php
parent7d2128f364c0e81a15653db2508d3e09b262eca1 (diff)
Split client and manager
Diffstat (limited to 'src/Client/Script/Console.php')
-rw-r--r--src/Client/Script/Console.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Client/Script/Console.php b/src/Client/Script/Console.php
new file mode 100644
index 0000000..5f5d90d
--- /dev/null
+++ b/src/Client/Script/Console.php
@@ -0,0 +1,24 @@
+<?php
+
+namespace App\Script;
+
+use Symfony\Component\Console\Application;
+use App\Script\Command\Site\Create;
+
+/**
+ * Main application class
+ */
+class Console
+{
+ /**
+ * Create symfony application and add commands
+ *
+ * @author Phil Burton <phil@pgburton.com>
+ */
+ public function __construct()
+ {
+ $application = new Application();
+ $application->add(new Create());
+ $application->run();
+ }
+}