{"action":"created","comment":{"url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/comments/178428662","pull_request_review_id":108489593,"id":178428662,"diff_hunk":"@@ -0,0 +1,49 @@\n+package seedu.address.logic.parser;\n+\n+import static java.util.Objects.requireNonNull;\n+import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;\n+\n+import seedu.address.commons.core.index.Index;\n+import seedu.address.commons.exceptions.IllegalValueException;\n+import seedu.address.logic.commands.RemoveCommand;\n+import seedu.address.logic.parser.exceptions.ParseException;\n+\n+//@@author Sisyphus25\n+/**\n+ * Parses input arguments and creates a new RemoveCommand object\n+ */\n+public class RemoveCommandParser implements Parser<RemoveCommand> {\n+\n+    public static final String MESSAGE_INVALID_TYPE = \"Type must be student or defualt(empty).\";","path":"src/main/java/seedu/address/logic/parser/RemoveCommandParser.java","position":17,"original_position":17,"commit_id":"dbd75a9d1e4b346509d715649b6da10ecc2afa1e","original_commit_id":"dbd75a9d1e4b346509d715649b6da10ecc2afa1e","user":{"login":"randypx","id":35571456,"avatar_url":"https://avatars1.githubusercontent.com/u/35571456?v=4","gravatar_id":"","url":"https://api.github.com/users/randypx","html_url":"https://github.com/randypx","followers_url":"https://api.github.com/users/randypx/followers","following_url":"https://api.github.com/users/randypx/following{/other_user}","gists_url":"https://api.github.com/users/randypx/gists{/gist_id}","starred_url":"https://api.github.com/users/randypx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randypx/subscriptions","organizations_url":"https://api.github.com/users/randypx/orgs","repos_url":"https://api.github.com/users/randypx/repos","events_url":"https://api.github.com/users/randypx/events{/privacy}","received_events_url":"https://api.github.com/users/randypx/received_events","type":"User","site_admin":false},"body":"Type should be appointment or task, right","created_at":"2018-03-31T10:18:21Z","updated_at":"2018-03-31T10:18:21Z","html_url":"https://github.com/CS2103JAN2018-W14-B1/main/pull/101#discussion_r178428662","pull_request_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/comments/178428662"},"html":{"href":"https://github.com/CS2103JAN2018-W14-B1/main/pull/101#discussion_r178428662"},"pull_request":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101","id":178516182,"html_url":"https://github.com/CS2103JAN2018-W14-B1/main/pull/101","diff_url":"https://github.com/CS2103JAN2018-W14-B1/main/pull/101.diff","patch_url":"https://github.com/CS2103JAN2018-W14-B1/main/pull/101.patch","issue_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/issues/101","number":101,"state":"open","locked":false,"title":"Add remove command","user":{"login":"Sisyphus25","id":19634112,"avatar_url":"https://avatars3.githubusercontent.com/u/19634112?v=4","gravatar_id":"","url":"https://api.github.com/users/Sisyphus25","html_url":"https://github.com/Sisyphus25","followers_url":"https://api.github.com/users/Sisyphus25/followers","following_url":"https://api.github.com/users/Sisyphus25/following{/other_user}","gists_url":"https://api.github.com/users/Sisyphus25/gists{/gist_id}","starred_url":"https://api.github.com/users/Sisyphus25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sisyphus25/subscriptions","organizations_url":"https://api.github.com/users/Sisyphus25/orgs","repos_url":"https://api.github.com/users/Sisyphus25/repos","events_url":"https://api.github.com/users/Sisyphus25/events{/privacy}","received_events_url":"https://api.github.com/users/Sisyphus25/received_events","type":"User","site_admin":false},"body":"This command removes task and appointment using index from the last shown list.\r\nFormat: \"remove EVENT_TYPE INDEX\"\r\n\r\nThis PR marks the completion for all commands supporting managing appointments & tasks.\r\nClose #72  Close #27  Close #106 Close #12 ","created_at":"2018-03-30T08:18:20Z","updated_at":"2018-03-31T10:18:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02a698133f78e414e3b90d705dfc896e303f0a47","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":885143604,"url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/labels/Completed","name":"Completed","color":"d66c60","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101/commits","review_comments_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101/comments","review_comment_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/issues/101/comments","statuses_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/statuses/dbd75a9d1e4b346509d715649b6da10ecc2afa1e","head":{"label":"Sisyphus25:add_remove_appointment&task_command","ref":"add_remove_appointment&task_command","sha":"dbd75a9d1e4b346509d715649b6da10ecc2afa1e","user":{"login":"Sisyphus25","id":19634112,"avatar_url":"https://avatars3.githubusercontent.com/u/19634112?v=4","gravatar_id":"","url":"https://api.github.com/users/Sisyphus25","html_url":"https://github.com/Sisyphus25","followers_url":"https://api.github.com/users/Sisyphus25/followers","following_url":"https://api.github.com/users/Sisyphus25/following{/other_user}","gists_url":"https://api.github.com/users/Sisyphus25/gists{/gist_id}","starred_url":"https://api.github.com/users/Sisyphus25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sisyphus25/subscriptions","organizations_url":"https://api.github.com/users/Sisyphus25/orgs","repos_url":"https://api.github.com/users/Sisyphus25/repos","events_url":"https://api.github.com/users/Sisyphus25/events{/privacy}","received_events_url":"https://api.github.com/users/Sisyphus25/received_events","type":"User","site_admin":false},"repo":{"id":123705025,"name":"main","full_name":"Sisyphus25/main","owner":{"login":"Sisyphus25","id":19634112,"avatar_url":"https://avatars3.githubusercontent.com/u/19634112?v=4","gravatar_id":"","url":"https://api.github.com/users/Sisyphus25","html_url":"https://github.com/Sisyphus25","followers_url":"https://api.github.com/users/Sisyphus25/followers","following_url":"https://api.github.com/users/Sisyphus25/following{/other_user}","gists_url":"https://api.github.com/users/Sisyphus25/gists{/gist_id}","starred_url":"https://api.github.com/users/Sisyphus25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sisyphus25/subscriptions","organizations_url":"https://api.github.com/users/Sisyphus25/orgs","repos_url":"https://api.github.com/users/Sisyphus25/repos","events_url":"https://api.github.com/users/Sisyphus25/events{/privacy}","received_events_url":"https://api.github.com/users/Sisyphus25/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sisyphus25/main","description":"Address Book sample application (Level 4)","fork":true,"url":"https://api.github.com/repos/Sisyphus25/main","forks_url":"https://api.github.com/repos/Sisyphus25/main/forks","keys_url":"https://api.github.com/repos/Sisyphus25/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sisyphus25/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sisyphus25/main/teams","hooks_url":"https://api.github.com/repos/Sisyphus25/main/hooks","issue_events_url":"https://api.github.com/repos/Sisyphus25/main/issues/events{/number}","events_url":"https://api.github.com/repos/Sisyphus25/main/events","assignees_url":"https://api.github.com/repos/Sisyphus25/main/assignees{/user}","branches_url":"https://api.github.com/repos/Sisyphus25/main/branches{/branch}","tags_url":"https://api.github.com/repos/Sisyphus25/main/tags","blobs_url":"https://api.github.com/repos/Sisyphus25/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sisyphus25/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sisyphus25/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sisyphus25/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sisyphus25/main/statuses/{sha}","languages_url":"https://api.github.com/repos/Sisyphus25/main/languages","stargazers_url":"https://api.github.com/repos/Sisyphus25/main/stargazers","contributors_url":"https://api.github.com/repos/Sisyphus25/main/contributors","subscribers_url":"https://api.github.com/repos/Sisyphus25/main/subscribers","subscription_url":"https://api.github.com/repos/Sisyphus25/main/subscription","commits_url":"https://api.github.com/repos/Sisyphus25/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sisyphus25/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sisyphus25/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sisyphus25/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sisyphus25/main/contents/{+path}","compare_url":"https://api.github.com/repos/Sisyphus25/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sisyphus25/main/merges","archive_url":"https://api.github.com/repos/Sisyphus25/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sisyphus25/main/downloads","issues_url":"https://api.github.com/repos/Sisyphus25/main/issues{/number}","pulls_url":"https://api.github.com/repos/Sisyphus25/main/pulls{/number}","milestones_url":"https://api.github.com/repos/Sisyphus25/main/milestones{/number}","notifications_url":"https://api.github.com/repos/Sisyphus25/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sisyphus25/main/labels{/name}","releases_url":"https://api.github.com/repos/Sisyphus25/main/releases{/id}","deployments_url":"https://api.github.com/repos/Sisyphus25/main/deployments","created_at":"2018-03-03T15:35:53Z","updated_at":"2018-03-28T06:56:18Z","pushed_at":"2018-03-30T19:57:39Z","git_url":"git://github.com/Sisyphus25/main.git","ssh_url":"git@github.com:Sisyphus25/main.git","clone_url":"https://github.com/Sisyphus25/main.git","svn_url":"https://github.com/Sisyphus25/main","homepage":"https://nus-cs2103-ay1718s2.github.io/addressbook-level4/","size":10888,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CS2103JAN2018-W14-B1:master","ref":"master","sha":"b0b577ff4c6ecc51523a0d3085b6991edf7cab55","user":{"login":"CS2103JAN2018-W14-B1","id":37007714,"avatar_url":"https://avatars1.githubusercontent.com/u/37007714?v=4","gravatar_id":"","url":"https://api.github.com/users/CS2103JAN2018-W14-B1","html_url":"https://github.com/CS2103JAN2018-W14-B1","followers_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/followers","following_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/following{/other_user}","gists_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/subscriptions","organizations_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/orgs","repos_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/repos","events_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/received_events","type":"Organization","site_admin":false},"repo":{"id":123653617,"name":"main","full_name":"CS2103JAN2018-W14-B1/main","owner":{"login":"CS2103JAN2018-W14-B1","id":37007714,"avatar_url":"https://avatars1.githubusercontent.com/u/37007714?v=4","gravatar_id":"","url":"https://api.github.com/users/CS2103JAN2018-W14-B1","html_url":"https://github.com/CS2103JAN2018-W14-B1","followers_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/followers","following_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/following{/other_user}","gists_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/subscriptions","organizations_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/orgs","repos_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/repos","events_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103JAN2018-W14-B1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS2103JAN2018-W14-B1/main","description":"Address Book sample application (Level 4)","fork":true,"url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main","forks_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/forks","keys_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/teams","hooks_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/hooks","issue_events_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/issues/events{/number}","events_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/events","assignees_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/assignees{/user}","branches_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/branches{/branch}","tags_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/tags","blobs_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/statuses/{sha}","languages_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/languages","stargazers_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/stargazers","contributors_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/contributors","subscribers_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/subscribers","subscription_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/subscription","commits_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/contents/{+path}","compare_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/merges","archive_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/downloads","issues_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/issues{/number}","pulls_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls{/number}","milestones_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/milestones{/number}","notifications_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/labels{/name}","releases_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/releases{/id}","deployments_url":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/deployments","created_at":"2018-03-03T02:57:07Z","updated_at":"2018-03-30T07:51:19Z","pushed_at":"2018-03-31T09:46:25Z","git_url":"git://github.com/CS2103JAN2018-W14-B1/main.git","ssh_url":"git@github.com:CS2103JAN2018-W14-B1/main.git","clone_url":"https://github.com/CS2103JAN2018-W14-B1/main.git","svn_url":"https://github.com/CS2103JAN2018-W14-B1/main","homepage":"https://cs2103jan2018-w14-b1.github.io/main/","size":10978,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":4,"open_issues":44,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101"},"html":{"href":"https://github.com/CS2103JAN2018-W14-B1/main/pull/101"},"issue":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/issues/101"},"comments":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/CS2103JAN2018-W14-B1/main/statuses/dbd75a9d1e4b346509d715649b6da10ecc2afa1e"}},"author_association":"NONE"}}
{"actor":{"display_login":"randypx"}}