Skip to content

Commit 9278591

Browse files
committed
update devnet bin
1 parent 52ac4d1 commit 9278591

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

bin/devnet

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33

44
require __DIR__ . '/../../../../vendor/autoload.php';
55

6-
use DevNet\System\Runtime\Launcher;
6+
use DevNet\Cli\Program;
77

8-
$launcher = Launcher::getLauncher();
9-
$launcher->workspace(getcwd());
10-
$launcher->namespace('DevNet\\Cli');
11-
$launcher->entryPoint('Program');
12-
$launcher->launch();
8+
$args = $GLOBALS['argv'];
9+
array_shift($args);
10+
11+
Program::main($args);

0 commit comments

Comments
 (0)