-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFramy
28 lines (24 loc) · 840 Bytes
/
Framy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/php
<?php
/*---------------------------------------
| Bootstrap
|----------------------------------------
|
| We include the bootstrap file to get all the necessary stuff we need.
| Like the class loader and the helper functions.
|
*/
require(__DIR__."/bootstrap/bootstrap.php");
/*---------------------------------------
| Run Framy's CLI Application
|----------------------------------------
|
| When we run the CLI Application, the current CLI command will be
| executed in this console and the response sent back to a terminal.
|
*/
$Kernel = new \app\framework\Component\Console\Kernel();
$Kernel->handle(
new \app\framework\Component\Console\Input\ArgvInput(),
new \app\framework\Component\Console\Output\ConsoleOutput()
);