Open
Description
Good day! Thanks for the very useful project!
Not sure if this is the right place to ask questions. But I didn't find any other one)) If I am writing in the wrong place, please direct me to the one I should be at.
I am creating a meta command that runs other commands like this:
public function initialSetup(ConsoleIO $io) {
$io->say("initial-setup");
$this->getConfig($io);
// $this->reloadRoboConfig(); // pseudocode
$this->new($io);
...
}
The getCofig() command copies robo.yml
to current dir from another folder. This config data should be used in the subsequent command. But it is not available. I think it is because the new config has not been loaded. The question is - how do I reload config so it reads the new file?
Metadata
Metadata
Assignees
Labels
No labels