case 'le': // lists all emails for the given issue Command_Line::listEmails($client, $auth, $issue_id); break; case 'get-email': case 'ge': // views an email if (count($argv) == 3) { Command_Line::quit('Missing parameter for the email number'); } if (@$argv[4] == '--full') { $full = true; } else { $full = false; } Command_Line::printEmail($client, $auth, $issue_id, $argv[3], $full); break; // note related commands // note related commands case 'list-notes': case 'ln': // list notes for the given issues Command_Line::listNotes($client, $auth, $issue_id); break; case 'get-note': case 'gn': // view a note if (count($argv) == 3) { Command_Line::quit('Missing parameter for the note number'); } Command_Line::printNote($client, $auth, $issue_id, $argv[3]);