You are here

protected function ImportPartialCommand::configure in Tome 8

Overrides ImportCommand::configure

File

modules/tome_sync/src/Commands/ImportPartialCommand.php, line 48

Class

ImportPartialCommand
Contains the tome:import-partial command.

Namespace

Drupal\tome_sync\Commands

Code

protected function configure() {
  $this
    ->setName('tome:import-partial')
    ->setDescription('Imports only changed 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,');
}