src/Cli.php
protected function writeCommands() {
        echo static::bold("COMMANDS").PHP_EOL;

        $table = new Table();
        foreach ($this->commandSchemas as $pattern => $schema) {
            if (static::isCommand($pattern)) {
                $table
                    ->row()
                    ->cell($pattern)
                    ->cell(Cli::val('description', Cli::val(Cli::META, $schema), ''));
            }
        }
        $table->write();
    }
protected function writeCommands() {
        echo static::bold("COMMANDS").PHP_EOL;

        $table = new Table();
        foreach ($this->commandSchemas as $pattern => $schema) {
            if (static::isCommand($pattern)) {
                $table
                    ->row()
                    ->cell($pattern)
                    ->cell(Cli::val('description', Cli::val(Cli::META, $schema), ''));
            }
        }
        $table->write();
    }
protected function writeCommands ( ) { echo static :: bold ( "COMMANDS" ) . PHP_EOL ; $ table = new Table ( ) ; foreach ( $ this -> commandSchemas as $ pattern => $ schema ) { if ( static :: isCommand ( $ pattern ) ) { $ table -> row ( ) -> cell ( $ pattern ) -> cell ( Cli :: val ( 'description' , Cli :: val ( Cli :: META , $ schema ) , '' ) ) ; } } $ table -> write ( ) ; }
Writes a lis of all of the commands.
Writes a lis of all of the commands .