setName('cleanup-vcs-dirs'); } protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln('Removing all child .git directories under the project directory'); $handler = new Handler($this->getComposer(), $this->getIO()); $handler->cleanupVcsDirs(getcwd(), true); } }