Command_Line::takeIssue($client, $auth, $issue_id); break; case 'add-replier': case 'ar': // adds a user to the list of authorized repliers if (count($argv) == 3) { Command_Line::quit('Missing parameter for the developer'); } Command_Line::addAuthorizedReplier($client, $auth, $issue_id, $argv[3]); break; case 'set-status': case 'ss': if (count($argv) == 3) { Command_Line::quit('Missing parameter for the status'); } Command_Line::setIssueStatus($client, $auth, $issue_id, $argv[3]); break; case 'add-time': case 'at': if (count($argv) == 3) { Command_Line::quit('Missing parameter for time worked'); } $check = (int) $argv[3]; if ($check == 0) { Command_Line::quit("Third argument to command 'add-time' should be a number"); } Command_Line::addTimeEntry($client, $auth, $issue_id, $check); break; case 'list-files': case 'lf': Command_Line::printFileList($client, $auth, $issue_id);