예제 #1
0
     Command_Line::convertNote($client, $auth, $issue_id, $argv[3], $argv[4], $authorize_sender);
     break;
     // draft related commands
 // draft related commands
 case 'list-drafts':
 case 'ld':
     // list drafts
     Command_Line::listDrafts($client, $auth, $issue_id);
     break;
 case 'get-draft':
 case 'gd':
     // viewing a draft
     if (count($argv) == 3) {
         Command_Line::quit('Missing parameter for the draft number');
     }
     Command_Line::printDraft($client, $auth, $issue_id, $argv[3]);
     break;
 case 'send-draft':
 case 'sd':
     // viewing a draft
     if (count($argv) == 3) {
         Command_Line::quit('Missing parameter for the draft number');
     }
     Command_Line::sendDraft($client, $auth, $issue_id, $argv[3]);
     break;
 case '--full':
     // Display Issue Details + Issue Custom Fields
     Command_Line::printIssueDetails($client, $auth, $issue_id, true);
     break;
 case 'custom-fields':
 case 'cf':