From 161842d940824b72fc14adb9857c39733f3fc17b Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Wed, 12 Mar 2025 20:17:09 +0000 Subject: [PATCH] Added PIE version banner to all commands --- bin/pie | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/pie b/bin/pie index caa0a2f4..6296c5f7 100755 --- a/bin/pie +++ b/bin/pie @@ -25,7 +25,10 @@ include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php'; $container = Container::factory(); -$application = new Application('🥧 PHP Installer for Extensions (PIE)', PieVersion::get()); +$pieAppName = '🥧 PHP Installer for Extensions (PIE)'; +$pieVersion = PieVersion::get(); +$application = new Application($pieAppName, $pieVersion); +echo $pieAppName . ', ' . $pieVersion . ", from The PHP Foundation\n"; $application->setCommandLoader(new ContainerCommandLoader( $container,