If there isn't already (and I missed it) it would be good to be able to pass parameters to migrations.
There isn't at the minute and it would definitely be good, I think we could make an instance of DialogHelper available to all migrations, so within the migrations people could do
$res = $this->dialog->ask($this->getOutput(), 'What is your favourite colour', 'blue');
Or probably better just to wrap one in phpmig's own method, so they can just do
$res = $this->ask('What is your favourite colour?', 'blue');
What do you think?
Basic prompting ref #13
Actually return the values #13
Refs #13: Remove hidden response to maintain BC
You can now prompt for parameters:
$res = $this->ask('What is your favourite colour? ', 'blue');
$sure = $this->confirm('Are you sure? (y/n) ', true);