@@ 110-113 (lines=4) @@ | ||
107 | $input->setOption('dir', $dir); |
|
108 | } |
|
109 | ||
110 | if (null === $input->getOption('demosite')) { |
|
111 | $demoSiteOption = $this->assistant->askConfirmation('Do you want to create a "demosite"? (y/n)', 'n'); |
|
112 | $input->setOption('demosite', $demoSiteOption === true ? 'Yes' : 'No'); |
|
113 | } |
|
114 | ||
115 | if (null === $input->getOption('create-tests')) { |
|
116 | $createTests = $this->assistant->askConfirmation('Do you want to create tests for you pages/pageparts? (y/n)', 'n', '?', false); |
|
@@ 115-118 (lines=4) @@ | ||
112 | $input->setOption('demosite', $demoSiteOption === true ? 'Yes' : 'No'); |
|
113 | } |
|
114 | ||
115 | if (null === $input->getOption('create-tests')) { |
|
116 | $createTests = $this->assistant->askConfirmation('Do you want to create tests for you pages/pageparts? (y/n)', 'n', '?', false); |
|
117 | $input->setOption('create-tests', $createTests === true ? 'Yes' : 'No'); |
|
118 | } |
|
119 | ||
120 | $output->writeln('<info>Installation start</info>'); |
|
121 | } |