forked from DonAlkens/boilerphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manage
39 lines (31 loc) · 817 Bytes
/
manage
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
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env php
<?php
require __DIR__.'/Core/autoload_console.php';
/*
|----------------------------------------------
| Importing Console class namespace for usage
| Contains all modules and classes for cli usages
|----------------------------------------------
|
*/
use Console\Console;
/*
|----------------------------------------------
| Initializing the console app
|----------------------------------------------
| @param $argv - the command line arguments
|
*/
$console = new Console(
new App\Core\Server(new App\Core\Modules\AppModules), $argv
);
/*
|----------------------------------------------
| Run the Console Application
|----------------------------------------------
|
| ALl command run on the cli will be handle and
| response will be sent back to the terminal
|
*/
$console->run();