InstallCommand
class InstallCommand extends Command (View source)
Constants
RETURN_CODE_ON_FAILURE |
The return code we should return when an exception is thrown while running the command. |
Methods
No description
No description
No description
Do some procedural work to a row in the wizard step list to turn it into a proper question.
A wizard generator.
Take an option and return a question string.
An array of steps Items: [ "option-name", "default-value", function($question, $input, $option) : $question ].
Details
run(InputInterface $input, OutputInterface $output)
{@inheritdoc}
protected Command
addEnvOption()
Add the "env" option to the command options.
protected
configure()
No description
protected
execute(InputInterface $input, OutputInterface $output)
No description
protected
interact(InputInterface $input, OutputInterface $output)
No description
private Question
getQuestion($row, InputInterface $input)
Do some procedural work to a row in the wizard step list to turn it into a proper question.
private Generator|Question[]
getWizard(InputInterface $input, OutputInterface $output, null $firstKey = null)
A wizard generator.
private string
getQuestionString(InputOption $option, $default)
Take an option and return a question string.
private array
wizardSteps()
An array of steps Items: [ "option-name", "default-value", function($question, $input, $option) : $question ].