Skip to content

Commit 0eae70a

Browse files
authored
Merge pull request #202 from asgrim/pie-version-banner
Added PIE version banner to all commands
2 parents 108707d + 161842d commit 0eae70a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/pie

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
2525

2626
$container = Container::factory();
2727

28-
$application = new Application('🥧 PHP Installer for Extensions (PIE)', PieVersion::get());
28+
$pieAppName = '🥧 PHP Installer for Extensions (PIE)';
29+
$pieVersion = PieVersion::get();
30+
$application = new Application($pieAppName, $pieVersion);
31+
echo $pieAppName . ', ' . $pieVersion . ", from The PHP Foundation\n";
2932

3033
$application->setCommandLoader(new ContainerCommandLoader(
3134
$container,

0 commit comments

Comments
 (0)