showHelp() protected method

Show help options for a given command
protected showHelp ( string $command = null ) : void
$command string
return void
Example #1
0
    /**
     * @return void
     */
    public function showHelp()
    {
        parent::showHelp('dump');

        $writer = $this->getWriter();
        $writer->indent(2)->line('--file=<string>    Filename')
                ->line();
    }
Example #2
0
 /**
  * @return void
  */
 public function showHelp($command = 'remove')
 {
     parent::showHelp($command);
     $writer = $this->getWriter();
     $writer->indent(2)->line('--patch=<int>      One or more patchnumbers seperated by a comma to remove')->line();
 }
Example #3
0
 /**
  * @return void
  */
 public function showHelp($command = 'help')
 {
     parent::showHelp($command);
 }
Example #4
0
 /**
  * @return void
  */
 public function showHelp($command = 'show')
 {
     parent::showHelp($command);
     $writer = $this->getWriter();
     $writer->indent(2)->line('--patch=<int>      Patchnumber to show')->line();
 }
Example #5
0
 /**
  * @param string $command Command name
  * @return void
  */
 public function showHelp($command = 'update')
 {
     parent::showHelp($command);
     $writer = $this->getWriter();
     $writer->indent(2)->line('--skip=<int>       One or more patchnumbers seperated by a comma to skip')->indent(2)->line('--force            Force the update, and ignore missing patches')->line();
 }
Example #6
0
 /**
  * @param string $command
  * @return void
  */
 public function showHelp($command = 'status')
 {
     parent::showHelp($command);
 }
Example #7
0
 /**
  * @return void
  */
 public function showHelp($command = 'create')
 {
     parent::showHelp($command);
     $writer = $this->getWriter();
     $writer->indent(2)->line('--type=<type>      create patch of the type `php` or `sql`')->indent(2)->line('--number=<int>     Patchnumber to create')->line();
 }
Example #8
0
 /**
  * @return void
  */
 public function showHelp()
 {
     parent::showHelp('status');
 }
Example #9
0
 /**
  * @return void
  */
 public function showHelp()
 {
     parent::showHelp('sync');
 }
Example #10
0
 /**
  * @return void
  */
 public function showHelp($command = 'setup')
 {
     parent::showHelp($command);
     $writer = $this->getWriter();
     $writer->indent(2)->line('--type=<type>      create a configuration file of the following types `ini`, `php` or `xml`')->line();
 }
Example #11
0
 /**
  * @return void
  */
 public function showHelp()
 {
     parent::showHelp('help');
 }
Example #12
0
 /**
  * @return void
  */
 public function showHelp($command = 'dump')
 {
     parent::showHelp($command);
     $writer = $this->getWriter();
     $writer->indent(2)->line('--file=<string>    Filename')->indent(2)->line('--s3               Copy the file to S3 (add S3 credentials to the config)')->line();
 }