Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sjelfull committed Sep 26, 2018
1 parent 326322a commit 706581c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.1 - 2018-09-09
### Changed
- Cleanup

## 1.0.0 - 2018-09-09
### Added
- Initial release
10 changes: 3 additions & 7 deletions src/console/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Symfony\Component\Process\Process;
use Symfony\Component\Finder\Finder;
use yii\console\Controller;
use yii\console\ExitCode;
use yii\helpers\Console;


Expand All @@ -45,7 +46,7 @@ class DefaultController extends Controller
public $lines = null;

/**
* @var string Clear terminal output
* @var string Clear the terminal screen
*/
public $clear = false;

Expand Down Expand Up @@ -100,14 +101,9 @@ public function actionIndex()
$this->output->write($line);
});

return $result;
return ExitCode::OK;
}

protected $signature = 'tail
{--lines=0 : Output the last number of lines}
{--H|hide-stack-traces : Filter out the stack traces}
{--clear : Clear the terminal screen}';


protected function findLatestLogFile(string $directory, $type = 'web')
{
Expand Down

0 comments on commit 706581c

Please sign in to comment.