public function getHelpDescription(): string
    {
        $inputDefinition = $this->inputDefinition;
        $output = new BufferedOutput();

        $name = $this->getFullCommand();

        $command = (new Command($name))
            ->setDefinition($inputDefinition)
            ->setDescription($this->getDescription());

        $descriptor = new DescriptorHelper();
        $descriptor->describe($output, $command);

        return $output->fetch();
    }
public function getHelpDescription(): string
    {
        $inputDefinition = $this->inputDefinition;
        $output = new BufferedOutput();

        $name = $this->getFullCommand();

        $command = (new Command($name))
            ->setDefinition($inputDefinition)
            ->setDescription($this->getDescription());

        $descriptor = new DescriptorHelper();
        $descriptor->describe($output, $command);

        return $output->fetch();
    }
public function getHelpDescription ( ) : string { $ inputDefinition = $ this -> inputDefinition ; $ output = new BufferedOutput ( ) ; $ name = $ this -> getFullCommand ( ) ; $ command = ( new Command ( $ name ) ) -> setDefinition ( $ inputDefinition ) -> setDescription ( $ this -> getDescription ( ) ) ; $ descriptor = new DescriptorHelper ( ) ; $ descriptor -> describe ( $ output , $ command ) ; return $ output -> fetch ( ) ; }
Get the usage description, including parameters and options.

@return string
Get the usage description including parameters and options .