protected function outputCommandListHelp()
    {
        $routes = $this->route->getList();

        ksort($routes);

        $rows = array(
            array(
                $this->text('Command'),
                $this->text('Alias'),
                $this->text('Description')
            )
        );

        foreach ($routes as $command => $info) {
            $rows[] = array(
                $command,
                empty($info['alias']) ? '' : $info['alias'],
                empty($info['description']) ? '' : $info['description']
            );
        }

        $this->table($rows);
        $this->output();
    }
protected function outputCommandListHelp()
    {
        $routes = $this->route->getList();

        ksort($routes);

        $rows = array(
            array(
                $this->text('Command'),
                $this->text('Alias'),
                $this->text('Description')
            )
        );

        foreach ($routes as $command => $info) {
            $rows[] = array(
                $command,
                empty($info['alias']) ? '' : $info['alias'],
                empty($info['description']) ? '' : $info['description']
            );
        }

        $this->table($rows);
        $this->output();
    }
protected function outputCommandListHelp ( ) { $ routes = $ this -> route -> getList ( ) ; ksort ( $ routes ) ; $ rows = array ( array ( $ this -> text ( 'Command' ) , $ this -> text ( 'Alias' ) , $ this -> text ( 'Description' ) ) ) ; foreach ( $ routes as $ command => $ info ) { $ rows [ ] = array ( $ command , empty ( $ info [ 'alias' ] ) ? '' : $ info [ 'alias' ] , empty ( $ info [ 'description' ] ) ? '' : $ info [ 'description' ] ) ; } $ this -> table ( $ rows ) ; $ this -> output ( ) ; }
Output a list of all available CLI commands
Output a list of all available CLI commands