Skip to content

Commit 4ac3533

Browse files
committed
Add phpmqtt logo
1 parent 620fe08 commit 4ac3533

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

bin/mqtt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,17 @@ use Simps\MQTTCLI\Command\PublishCommand;
2828
use Simps\MQTTCLI\Command\SubscribeCommand;
2929
use function Swoole\Coroutine\run;
3030

31-
run(function () {
31+
$logo = <<<LOGO
32+
____ _ _ ____ __ __ ___ _____ _____
33+
| _ \| | | | _ \| \/ |/ _ \_ _|_ _|
34+
| |_) | |_| | |_) | |\/| | | | || | | |
35+
| __/| _ | __/| | | | |_| || | | |
36+
|_| |_| |_|_| |_| |_|\__\_\|_| |_|
37+
LOGO;
38+
39+
run(function () use ($logo) {
3240
try {
33-
$application = new Application('PHPMQTT CLI Tools', 'v1.0.0');
41+
$application = new Application("{$logo}\n\nPHPMQTT CLI Tools", 'v1.0.0');
3442
$application->add(new PublishCommand());
3543
$application->run();
3644
} catch (\Swoole\ExitException $e) {

0 commit comments

Comments
 (0)