setName('deploy') ->setDescription('Deploys the list of GitHub Pages repositories.') ; } protected function execute(InputInterface $input, OutputInterface $output) { $deploy = GitHubPagesDeploy::fromFile(); $repositories = $deploy->getRepositories(); if (empty($repositories)) { $output->writeln('gh-pages-deploy.json is empty.'); } else { $deploy->update(); } } }