summaryrefslogtreecommitdiff
path: root/src/Script/Console.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Script/Console.php')
-rw-r--r--src/Script/Console.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Script/Console.php b/src/Script/Console.php
index 926f41f..5f5d90d 100644
--- a/src/Script/Console.php
+++ b/src/Script/Console.php
@@ -3,14 +3,22 @@
namespace App\Script;
use Symfony\Component\Console\Application;
-use App\Script\Command\Site;
+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 Site());
+ $application->add(new Create());
$application->run();
}
}