src/Argument/Summary.php
public function output()
    {
        // Print the description if it's defined.
        if ($this->description) {
            $this->climate->out($this->description)->br();
        }

        // Print the usage statement with the arguments without a prefix at the end.
        $this->climate->out("Usage: {$this->command} "
                            . $this->short($this->getOrderedArguments()));

        // Print argument details.
        foreach (['required', 'optional'] as $type) {
            $this->outputArguments($this->filter->{$type}(), $type);
        }
    }
public function output()
    {
        // Print the description if it's defined.
        if ($this->description) {
            $this->climate->out($this->description)->br();
        }

        // Print the usage statement with the arguments without a prefix at the end.
        $this->climate->out("Usage: {$this->command} "
                            . $this->short($this->getOrderedArguments()));

        // Print argument details.
        foreach (['required', 'optional'] as $type) {
            $this->outputArguments($this->filter->{$type}(), $type);
        }
    }
public function output ( ) { // Print the description if it's defined. if ( $ this -> description ) { $ this -> climate -> out ( $ this -> description ) -> br ( ) ; } // Print the usage statement with the arguments without a prefix at the end. $ this -> climate -> out ( "Usage: {$this->command} " . $ this -> short ( $ this -> getOrderedArguments ( ) ) ) ; // Print argument details. foreach ( [ 'required' , 'optional' ] as $ type ) { $ this -> outputArguments ( $ this -> filter -> { $ type } ( ) , $ type ) ; } }
Output the full summary for the program
Output the full summary for the program