protected function ExportCommand::configure in Tome 8
1 method overrides ExportCommand::configure()
- ExportContentCommand::configure in modules/
tome_sync/ src/ Commands/ ExportContentCommand.php
File
- modules/
tome_sync/ src/ Commands/ ExportCommand.php, line 79
Class
- ExportCommand
- Contains the tome:export command.
Namespace
Drupal\tome_sync\CommandsCode
protected function configure() {
$this
->setName('tome:export')
->setDescription('Exports all config, content, and files.')
->addOption('process-count', NULL, InputOption::VALUE_OPTIONAL, 'Limits the number of processes to run concurrently.', self::PROCESS_COUNT)
->addOption('entity-count', NULL, InputOption::VALUE_OPTIONAL, 'The number of entities to export per process.', self::ENTITY_COUNT)
->addOption('yes', 'y', InputOption::VALUE_NONE, 'Assume "yes" as answer to all prompts,');
}