/** * Output the initialization message. * * @param OutputInterface $output * @param RepositoryInterface $repository * @return void */ private function outputInitialization(OutputInterface $output, RepositoryInterface $repository) { return $output->writeln(sprintf('Creating a %s %s repo called `%s/%s` on %s', $repository->getPrivate() ? 'private' : 'public', $repository->getType(), $repository->getAccount(), $repository->getName(), $repository->getService())); }
/** * Get the path to the cloned repository. * * @return string */ protected function getClonePath() { return $this->getCurrentPath() . DIRECTORY_SEPARATOR . $this->repository->getName(); }