setName('composer:scaffold') ->setDescription('Update the Composer scaffold files.') ->setHelp( <<composer:scaffold command places the scaffold files in their respective locations according to the layout stipulated in the composer.json file. php composer.phar composer:scaffold It is usually not necessary to call composer:scaffold manually, because it is called automatically as needed, e.g. after an install or update command. Note, though, that only packages explicitly allowed to scaffold in the top-level composer.json will be processed by this command. For more information, see https://www.drupal.org/docs/develop/using-composer/using-drupals-composer-scaffold. EOT ); } /** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $handler = new Handler($this->getComposer(), $this->getIO()); $handler->scaffold(); } }