/** * @return void */ protected function configure() { parent::configure(); $this->setName('import')->addArgument('data-dir', InputArgument::REQUIRED, 'The data directory to import', null)->setDescription('Imports a set of exported data into the database'); }
/** * @return void */ protected function configure() { parent::configure(); $this->addArgument('entity', InputArgument::REQUIRED, 'The entity to begin deleting from', null)->addArgument('column', InputArgument::REQUIRED, 'A column to limit deleting', null)->addArgument('value', InputArgument::REQUIRED, 'The value to limit by', null)->addOption('include-root', 'r', InputOption::VALUE_NONE, 'Whether to include the root entity in the action')->addOption('graph', 'g', InputOption::VALUE_NONE, 'Whether to output the constraints graph that was used'); }