Show version info on october:version
This commit is contained in:
parent
751d687cbf
commit
b5323fdae1
|
|
@ -1,20 +1,16 @@
|
|||
<?php namespace System\Console;
|
||||
|
||||
use App;
|
||||
use System\Classes\UpdateManager;
|
||||
|
||||
class OctoberVersion extends \Illuminate\Console\Command
|
||||
{
|
||||
/**
|
||||
* @var string The console command description.
|
||||
*/
|
||||
protected $description = 'Detects the build number (version) of this October CMS instance.';
|
||||
protected $description = 'Displays the build number (version) of this October CMS instance.';
|
||||
|
||||
/**
|
||||
* @var string The name and signature of the console command.
|
||||
*/
|
||||
protected $signature = 'october:version
|
||||
{--changes : Include the list of changes between this install and the expected files for the detected build.}';
|
||||
protected $signature = 'october:version';
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
|
|
@ -23,6 +19,8 @@ class OctoberVersion extends \Illuminate\Console\Command
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
passthru('composer show october/system');
|
||||
|
||||
$this->comment('*** Thanks for using October CMS!');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue