You are here

protected function ImportCommand::configure in Tome 8

3 methods override ImportCommand::configure()
DeleteContentCommand::configure in modules/tome_sync/src/Commands/DeleteContentCommand.php
ImportContentCommand::configure in modules/tome_sync/src/Commands/ImportContentCommand.php
ImportPartialCommand::configure in modules/tome_sync/src/Commands/ImportPartialCommand.php

File

modules/tome_sync/src/Commands/ImportCommand.php, line 78

Class

ImportCommand
Contains the tome:import command.

Namespace

Drupal\tome_sync\Commands

Code

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