ORIENT/modules/system/console/OctoberVersion.php

27 lines
623 B
PHP
Raw Permalink Normal View History

<?php namespace System\Console;
class OctoberVersion extends \Illuminate\Console\Command
{
/**
* @var string The console command description.
*/
2022-12-14 15:55:13 +00:00
protected $description = 'Displays the build number (version) of this October CMS instance.';
/**
* @var string The name and signature of the console command.
*/
2022-12-14 15:55:13 +00:00
protected $signature = 'october:version';
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
2022-12-14 15:55:13 +00:00
passthru('composer show october/system');
2022-12-14 15:55:13 +00:00
$this->comment('*** Thanks for using October CMS!');
}
}