Back to RemoveOldFilesCommand class

Method configure

protected void
configure
()
Configure the command.
Returns
  • void
Since
  • 4.0.0

Method configure - Source code

/**
 * Configure the command.
 *
 * @return  void
 *
 * @since   4.0.0
 */
protected function configure() : void
{
    $help = "<info>%command.name%</info> removes old files which should have been deleted during a Joomla update\n\t\t\nUsage: <info>php %command.full_name%</info>";
    $this->setDescription('Remove old system files');
    $this->addOption('dry-run', null, InputOption::VALUE_NONE, 'Executes a dry run without deleting anything');
    $this->setHelp($help);
}