N98\Magento\Command\Developer\Module\UpdateCommand::execute PHP Method

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return integer | void
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->initMagento();
        $this->initArguments($input);
        if ($this->hasAddResourceModelOption($input)) {
            $this->askResourceModelOptions($output);
        }
        if ($this->hasAddRoutersOption($input)) {
            $this->askRoutersOptions($output);
        }
        if ($this->hasAddEventsOption($input)) {
            $this->askEventsOptions($output);
        }
        if ($this->hasAddLayoutUpdatesOptions($input)) {
            $this->askLayoutUpdatesOptions($output);
        }
        if ($this->hasAddTranslateOption($input)) {
            $this->askTranslateOptions($output);
        }
        if ($this->hasAddDefaultOption($input)) {
            $this->askDefaultOptions($output);
        }
        $this->setModuleDirectory($this->getModuleDir());
        $this->writeModuleConfig($input, $output);
    }