summaryrefslogtreecommitdiffstats
path: root/src/GitHubPagesDeploy/Console/Command/DeployCommand.php
diff options
context:
space:
mode:
authorRob Loach <robloach@gmail.com>2015-02-07 22:05:07 -0500
committerRob Loach <robloach@gmail.com>2015-02-07 22:05:07 -0500
commitbc0f13b93a3b20f1640c75c9f28fe77b5a4c89ca (patch)
tree3530b776e0b69f6d7449a46224f46487ca576578 /src/GitHubPagesDeploy/Console/Command/DeployCommand.php
parent7ca89a5eb6c7993658c9efce339f6805a0ee8351 (diff)
downloadgit-deploy-bc0f13b93a3b20f1640c75c9f28fe77b5a4c89ca.zip
git-deploy-bc0f13b93a3b20f1640c75c9f28fe77b5a4c89ca.tar.gz
git-deploy-bc0f13b93a3b20f1640c75c9f28fe77b5a4c89ca.tar.bz2
Rename to Git Deploy0.0.4
Diffstat (limited to 'src/GitHubPagesDeploy/Console/Command/DeployCommand.php')
-rw-r--r--src/GitHubPagesDeploy/Console/Command/DeployCommand.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/GitHubPagesDeploy/Console/Command/DeployCommand.php b/src/GitHubPagesDeploy/Console/Command/DeployCommand.php
deleted file mode 100644
index 70c7d8a..0000000
--- a/src/GitHubPagesDeploy/Console/Command/DeployCommand.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-namespace GitHubPagesDeploy\Console\Command;
-
-use GitHubPagesDeploy\GitHubPagesDeploy;
-use Symfony\Component\Console\Command\Command;
-use Symfony\Component\Console\Input\InputArgument;
-use Symfony\Component\Console\Input\InputOption;
-use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Output\OutputInterface;
-
-class DeployCommand extends Command
-{
- protected function configure()
- {
- $this
- ->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('<info>gh-pages-deploy.json is empty.</info>');
- }
- else {
- $deploy->update();
- }
- }
-}