protected function executeCliAction(Config\Action $action) : void
    {
        // since the cli has no straight way to communicate back to php
        // cli hooks have to handle sync stuff by them self
        // so no 'beforeAction' or 'afterAction' is called here
        $runner = new Action\Cli();
        $runner->execute($this->io, $action, $this->arguments);
    }
protected function executeCliAction(Config\Action $action) : void
    {
        // since the cli has no straight way to communicate back to php
        // cli hooks have to handle sync stuff by them self
        // so no 'beforeAction' or 'afterAction' is called here
        $runner = new Action\Cli();
        $runner->execute($this->io, $action, $this->arguments);
    }
protected function executeCliAction ( Config \ Action $ action ) : void { // since the cli has no straight way to communicate back to php // cli hooks have to handle sync stuff by them self // so no 'beforeAction' or 'afterAction' is called here $ runner = new Action \ Cli ( ) ; $ runner -> execute ( $ this -> io , $ action , $ this -> arguments ) ; }
Execute a cli hook action

@param  \CaptainHook\App\Config\Action $action
@return void
@throws \CaptainHook\App\Exception\ActionFailed
Execute a cli hook action