protected function execute(InputInterface $input, OutputInterface $output)
 {
     $this->input = $input;
     $this->output = $output;
     $fileName = 'main';
     $config = new Configuration($this->getConfigPaths(), $fileName);
     $name = $input->getArgument('name');
     $description = $input->getArgument('description');
     $domain = $config->getValue('domain');
     $boardId = $config->getValue('boardId');
     $apiToken = $config->getValue('apiToken');
     $url = $this->getUrl($domain, $boardId, $apiToken);
     $curl = new Curl();
     $curl->post($url, array('task[name]' => $name, 'task[description]' => $description));
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $this->input = $input;
     $this->output = $output;
     $fileName = 'main';
     $config = new Configuration($this->getConfigPaths(), $fileName);
     $columnId = $input->getArgument('columnId');
     $taskId = $input->getArgument('taskId');
     $domain = $config->getValue('domain');
     $boardId = $config->getValue('boardId');
     $apiToken = $config->getValue('apiToken');
     $url = $this->getUrl($domain, $boardId, $apiToken, $taskId);
     $curl = new Curl();
     $curl->put($url, array('workflow_stage_id' => $columnId));
 }
 protected function runJimFlowKlopfer()
 {
     $this->output->writeLn('run jimFlowKlopfer');
     $command = $this->config->getValue('jimFlowKlopfer')['command'];
     $photoDirectory = $this->config->getValue('jimFlowKlopfer')['photoDirectory'];
     $jsonDirectory = $this->config->getValue('jimFlowKlopfer')['jsonDirectory'];
     $fullCommand = sprintf($command, $photoDirectory, $jsonDirectory);
     $this->output->writeLn($fullCommand);
     exec($fullCommand);
 }