Esempio n. 1
0
                 break;
             case 'redeem':
                 // marking an issue as redeemed
                 Command_Line::redeemIssue($client, $auth, $issue_id);
                 break;
             case 'unredeem':
                 // unmarks issue as redeemed incident
                 Command_Line::unredeemIssue($client, $auth, $issue_id);
                 break;
             default:
                 Command_Line::quit("Unknown command '" . $argv[2] . "'");
         }
     }
 } else {
     if ($argv[1] == 'developers') {
         Command_Line::printDeveloperList($client, $auth);
     } elseif ($argv[1] == 'open-issues') {
         if (count($argv) == 3) {
             if (@$argv[2] == 'my') {
                 $show_all_issues = false;
                 $status = '';
             } else {
                 $show_all_issues = true;
                 $status = $argv[2];
             }
         } elseif (count($argv) == 4) {
             if (@$argv[3] == 'my') {
                 $show_all_issues = false;
             } else {
                 $show_all_issues = true;
             }