|
|
@ -72,6 +72,7 @@ EOT
|
|
|
|
// change to global dir
|
|
|
|
// change to global dir
|
|
|
|
$config = Factory::createConfig();
|
|
|
|
$config = Factory::createConfig();
|
|
|
|
chdir($config->get('home'));
|
|
|
|
chdir($config->get('home'));
|
|
|
|
|
|
|
|
$output->writeln('<info>Changed current directory to '.$config->get('home').'</info>');
|
|
|
|
|
|
|
|
|
|
|
|
// create new input without "global" command prefix
|
|
|
|
// create new input without "global" command prefix
|
|
|
|
$input = new StringInput(preg_replace('{\bg(?:l(?:o(?:b(?:a(?:l)?)?)?)?)?\b}', '', $input->__toString(), 1));
|
|
|
|
$input = new StringInput(preg_replace('{\bg(?:l(?:o(?:b(?:a(?:l)?)?)?)?)?\b}', '', $input->__toString(), 1));
|
|
|
|