forked from JackNoordhuis/MinecraftPacketDebugger
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdebugger
More file actions
28 lines (22 loc) · 791 Bytes
/
debugger
File metadata and controls
28 lines (22 loc) · 791 Bytes
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/env php
<?php
/**
* debugger – MinecraftPacketDebugger
*
* Copyright (C) 2019 Jack Noordhuis
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* @author Jack
*
*/
declare(strict_types=1);
require_once file_exists(__DIR__.'/vendor/autoload.php') ? __DIR__.'/vendor/autoload.php' : __DIR__.'/../../autoload.php';
($app = new Symfony\Component\Console\Application("Minecraft Packet Debugger", "0.0.1-DEV#1"))->addCommands([
new jacknoordhuis\minecraftpacketdebugger\cli\commands\StartSimpleDebugProxy
]);
$app->setDefaultCommand("simple");
$app->run();