Skip to content

Commit

Permalink
rename to indicate this is for weather surveys only
Browse files Browse the repository at this point in the history
  • Loading branch information
tacman committed Feb 2, 2016
1 parent 49be5cf commit 021dda1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Expand Up @@ -17,16 +17,16 @@
use Survos\Client\Resource\UserResource;


class AssignmentProcessCommand extends BaseCommand
class ExternalWeatherCommand extends BaseCommand
{
private $services;

protected function configure()
{
parent::configure();
$this
->setName('assignment:process')
->setDescription('Process API assignments')
->setName('external:weather')
->setDescription('Process any tasks with weather in the survey code')
->addOption(
'project-code',
null,
Expand Down Expand Up @@ -54,6 +54,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$maxPages = 1;
$criteria = [];
$data = [];
// need much better filter! Maybe the survey or wave needs to associate itself with an external service?
$assignments = $assignmentResource->getList(
1,
1,
Expand Down
2 changes: 1 addition & 1 deletion php/survos
Expand Up @@ -8,7 +8,7 @@ use Symfony\Component\Console\Application;
use Command\GreetCommand;

$application = new Application();
$application->add(new \Command\AssignmentProcessCommand());
$application->add(new \Command\ExternalWeatherCommand());
$application->add(new \Command\MembersAcceptCommand());
$application->add(new \Command\MembersImportCommand());
$application->add(new \Command\ProjectsImportCommand());
Expand Down

0 comments on commit 021dda1

Please sign in to comment.