public function showHelp()
    {
        $io     = $this->io();
        $helper = new OutputHelper($io->writer());

        $io->bold("Command {$this->_name}, version {$this->_version}", true)->eol();
        $io->comment($this->_desc, true)->eol();
        $io->bold('Usage: ')->yellow("{$this->_name} [OPTIONS...] [ARGUMENTS...]", true);

        $helper
            ->showArgumentsHelp($this->allArguments())
            ->showOptionsHelp($this->allOptions(), '', 'Legend: <required> [optional] variadic...');

        if ($this->_usage) {
            $io->eol();
            $io->boldGreen('Usage Examples:', true)->colors($this->_usage)->eol();
        }

        return $this->emit('_exit', 0);
    }
public function showHelp()
    {
        $io     = $this->io();
        $helper = new OutputHelper($io->writer());

        $io->bold("Command {$this->_name}, version {$this->_version}", true)->eol();
        $io->comment($this->_desc, true)->eol();
        $io->bold('Usage: ')->yellow("{$this->_name} [OPTIONS...] [ARGUMENTS...]", true);

        $helper
            ->showArgumentsHelp($this->allArguments())
            ->showOptionsHelp($this->allOptions(), '', 'Legend: <required> [optional] variadic...');

        if ($this->_usage) {
            $io->eol();
            $io->boldGreen('Usage Examples:', true)->colors($this->_usage)->eol();
        }

        return $this->emit('_exit', 0);
    }
public function showHelp ( ) { $ io = $ this -> io ( ) ; $ helper = new OutputHelper ( $ io -> writer ( ) ) ; $ io -> bold ( "Command {$this->_name}, version {$this->_version}" , true ) -> eol ( ) ; $ io -> comment ( $ this -> _desc , true ) -> eol ( ) ; $ io -> bold ( 'Usage: ' ) -> yellow ( "{$this->_name} [OPTIONS...] [ARGUMENTS...]" , true ) ; $ helper -> showArgumentsHelp ( $ this -> allArguments ( ) ) -> showOptionsHelp ( $ this -> allOptions ( ) , '' , 'Legend: <required> [optional] variadic...' ) ; if ( $ this -> _usage ) { $ io -> eol ( ) ; $ io -> boldGreen ( 'Usage Examples:' , true ) -> colors ( $ this -> _usage ) -> eol ( ) ; } return $ this -> emit ( '_exit' , 0 ) ; }
Shows command help then aborts.

@return mixed
Shows command help then aborts .