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

askDefaultOptions() protected method

Asks for default node options
protected askDefaultOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface
    protected function askDefaultOptions(OutputInterface $output)
    {
        $this->initDefaultConfigNodes();
        $dialog = $this->getDialog();
        $sectionName = strtolower(trim($dialog->ask($output, '<question>Section Name (lowercase):</question>')));
        $groupName = strtolower(trim($dialog->ask($output, '<question>Group Name (lowercase):</question>')));
        $fieldName = strtolower(trim($dialog->ask($output, '<question>Field Name:</question>')));
        $fieldValue = strtolower(trim($dialog->ask($output, '<question>Field Value:</question>')));
        $this->configNodes['default_section_name'] = $sectionName;
        $this->configNodes['default_group_name'] = $groupName;
        $this->configNodes['default_field_name'] = $fieldName;
        $this->configNodes['default_field_value'] = $fieldValue;
    }