{"action":"created","comment":{"url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/comments/84902436","pull_request_review_id":5649755,"id":84902436,"diff_hunk":"@@ -0,0 +1,74 @@\n+package seedu.address.logic.commands;\n+\n+import java.nio.file.InvalidPathException;\n+import java.nio.file.Path;\n+import java.nio.file.Paths;\n+\n+import seedu.address.commons.exceptions.IllegalValueException;\n+import seedu.address.commons.util.CollectionUtil;\n+import seedu.address.model.Model;\n+import seedu.address.model.UserPrefs;\n+\n+/**\n+ *\n+ * Command to change user preference.\n+ *\n+ */\n+//@@author A0126539Y\n+public class OptionCommand extends Command{\n+    public static final String COMMAND_WORD = \"option\";\n+\n+    public static final String MESSAGE_USAGE = COMMAND_WORD + \": Change user preference. \"\n+            + \"Parameters: [save/Save Location]\\n\"\n+            + \"Example: \" + COMMAND_WORD\n+            + \" save/myFileName.xml\";\n+\n+    public static final String MESSAGE_SUCCESS_PREFIX = \"Preference saved: \";\n+    public static final String MESSAGE_SAVE_LOCATION_SUCCESS = \"Save Location\";","path":"src/main/java/seedu/address/logic/commands/OptionCommand.java","position":27,"original_position":27,"commit_id":"e1dd8791ff21bb666eb7e58a7b4eb9f4493a19a8","original_commit_id":"600f0d21449501905c00a0fe7d54f53f66b39dc0","user":{"login":"tjonganthony","id":12377148,"avatar_url":"https://avatars.githubusercontent.com/u/12377148?v=3","gravatar_id":"","url":"https://api.github.com/users/tjonganthony","html_url":"https://github.com/tjonganthony","followers_url":"https://api.github.com/users/tjonganthony/followers","following_url":"https://api.github.com/users/tjonganthony/following{/other_user}","gists_url":"https://api.github.com/users/tjonganthony/gists{/gist_id}","starred_url":"https://api.github.com/users/tjonganthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjonganthony/subscriptions","organizations_url":"https://api.github.com/users/tjonganthony/orgs","repos_url":"https://api.github.com/users/tjonganthony/repos","events_url":"https://api.github.com/users/tjonganthony/events{/privacy}","received_events_url":"https://api.github.com/users/tjonganthony/received_events","type":"User","site_admin":false},"body":"We might have several other options to change, it would be too cluttered I think.","created_at":"2016-10-25T13:34:41Z","updated_at":"2016-10-25T13:34:41Z","html_url":"https://github.com/CS2103AUG2016-W10-C2/main/pull/75#discussion_r84902436","pull_request_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/comments/84902436"},"html":{"href":"https://github.com/CS2103AUG2016-W10-C2/main/pull/75#discussion_r84902436"},"pull_request":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75","id":90516247,"html_url":"https://github.com/CS2103AUG2016-W10-C2/main/pull/75","diff_url":"https://github.com/CS2103AUG2016-W10-C2/main/pull/75.diff","patch_url":"https://github.com/CS2103AUG2016-W10-C2/main/pull/75.patch","issue_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/75","number":75,"state":"open","locked":false,"title":"implement save location option","user":{"login":"tjonganthony","id":12377148,"avatar_url":"https://avatars.githubusercontent.com/u/12377148?v=3","gravatar_id":"","url":"https://api.github.com/users/tjonganthony","html_url":"https://github.com/tjonganthony","followers_url":"https://api.github.com/users/tjonganthony/followers","following_url":"https://api.github.com/users/tjonganthony/following{/other_user}","gists_url":"https://api.github.com/users/tjonganthony/gists{/gist_id}","starred_url":"https://api.github.com/users/tjonganthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjonganthony/subscriptions","organizations_url":"https://api.github.com/users/tjonganthony/orgs","repos_url":"https://api.github.com/users/tjonganthony/repos","events_url":"https://api.github.com/users/tjonganthony/events{/privacy}","received_events_url":"https://api.github.com/users/tjonganthony/received_events","type":"User","site_admin":false},"body":"Fixes #12 \r\n\r\nMain changes:\r\n\r\n- Create option command\r\n- User can specify save location of the taskmanager data","created_at":"2016-10-23T13:55:48Z","updated_at":"2016-10-25T13:34:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74cd3d907870d64fc807b65d886249093449d9a8","assignee":{"login":"bertoia","id":10178076,"avatar_url":"https://avatars.githubusercontent.com/u/10178076?v=3","gravatar_id":"","url":"https://api.github.com/users/bertoia","html_url":"https://github.com/bertoia","followers_url":"https://api.github.com/users/bertoia/followers","following_url":"https://api.github.com/users/bertoia/following{/other_user}","gists_url":"https://api.github.com/users/bertoia/gists{/gist_id}","starred_url":"https://api.github.com/users/bertoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertoia/subscriptions","organizations_url":"https://api.github.com/users/bertoia/orgs","repos_url":"https://api.github.com/users/bertoia/repos","events_url":"https://api.github.com/users/bertoia/events{/privacy}","received_events_url":"https://api.github.com/users/bertoia/received_events","type":"User","site_admin":false},"assignees":[{"login":"bertoia","id":10178076,"avatar_url":"https://avatars.githubusercontent.com/u/10178076?v=3","gravatar_id":"","url":"https://api.github.com/users/bertoia","html_url":"https://github.com/bertoia","followers_url":"https://api.github.com/users/bertoia/followers","following_url":"https://api.github.com/users/bertoia/following{/other_user}","gists_url":"https://api.github.com/users/bertoia/gists{/gist_id}","starred_url":"https://api.github.com/users/bertoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertoia/subscriptions","organizations_url":"https://api.github.com/users/bertoia/orgs","repos_url":"https://api.github.com/users/bertoia/repos","events_url":"https://api.github.com/users/bertoia/events{/privacy}","received_events_url":"https://api.github.com/users/bertoia/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/milestones/3","html_url":"https://github.com/CS2103AUG2016-W10-C2/main/milestones/v0.4","labels_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/milestones/3/labels","id":2056456,"number":3,"title":"v0.4","description":"","creator":{"login":"karenang","id":7513183,"avatar_url":"https://avatars.githubusercontent.com/u/7513183?v=3","gravatar_id":"","url":"https://api.github.com/users/karenang","html_url":"https://github.com/karenang","followers_url":"https://api.github.com/users/karenang/followers","following_url":"https://api.github.com/users/karenang/following{/other_user}","gists_url":"https://api.github.com/users/karenang/gists{/gist_id}","starred_url":"https://api.github.com/users/karenang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karenang/subscriptions","organizations_url":"https://api.github.com/users/karenang/orgs","repos_url":"https://api.github.com/users/karenang/repos","events_url":"https://api.github.com/users/karenang/events{/privacy}","received_events_url":"https://api.github.com/users/karenang/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":27,"state":"open","created_at":"2016-10-08T14:01:34Z","updated_at":"2016-10-25T04:06:58Z","due_on":"2016-10-25T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75/commits","review_comments_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75/comments","review_comment_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/75/comments","statuses_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/statuses/e1dd8791ff21bb666eb7e58a7b4eb9f4493a19a8","head":{"label":"CS2103AUG2016-W10-C2:12-imlement-save-location-option","ref":"12-imlement-save-location-option","sha":"e1dd8791ff21bb666eb7e58a7b4eb9f4493a19a8","user":{"login":"CS2103AUG2016-W10-C2","id":22439635,"avatar_url":"https://avatars.githubusercontent.com/u/22439635?v=3","gravatar_id":"","url":"https://api.github.com/users/CS2103AUG2016-W10-C2","html_url":"https://github.com/CS2103AUG2016-W10-C2","followers_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/followers","following_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/following{/other_user}","gists_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/subscriptions","organizations_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/orgs","repos_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/repos","events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/received_events","type":"Organization","site_admin":false},"repo":{"id":69740809,"name":"main","full_name":"CS2103AUG2016-W10-C2/main","owner":{"login":"CS2103AUG2016-W10-C2","id":22439635,"avatar_url":"https://avatars.githubusercontent.com/u/22439635?v=3","gravatar_id":"","url":"https://api.github.com/users/CS2103AUG2016-W10-C2","html_url":"https://github.com/CS2103AUG2016-W10-C2","followers_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/followers","following_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/following{/other_user}","gists_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/subscriptions","organizations_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/orgs","repos_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/repos","events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS2103AUG2016-W10-C2/main","description":"Address Book sample application (Level 4)","fork":true,"url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main","forks_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/forks","keys_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/teams","hooks_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/hooks","issue_events_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/events{/number}","events_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/events","assignees_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/assignees{/user}","branches_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/branches{/branch}","tags_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/tags","blobs_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/statuses/{sha}","languages_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/languages","stargazers_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/stargazers","contributors_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/contributors","subscribers_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/subscribers","subscription_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/subscription","commits_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/contents/{+path}","compare_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/merges","archive_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/downloads","issues_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues{/number}","pulls_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls{/number}","milestones_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/milestones{/number}","notifications_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/labels{/name}","releases_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/releases{/id}","deployments_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/deployments","created_at":"2016-10-01T13:40:32Z","updated_at":"2016-10-22T02:37:09Z","pushed_at":"2016-10-25T13:30:20Z","git_url":"git://github.com/CS2103AUG2016-W10-C2/main.git","ssh_url":"git@github.com:CS2103AUG2016-W10-C2/main.git","clone_url":"https://github.com/CS2103AUG2016-W10-C2/main.git","svn_url":"https://github.com/CS2103AUG2016-W10-C2/main","homepage":null,"size":9122,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":34,"forks":3,"open_issues":34,"watchers":0,"default_branch":"master"}},"base":{"label":"CS2103AUG2016-W10-C2:master","ref":"master","sha":"567988f85f7c69c3bcc2a268968984c8ab156a2f","user":{"login":"CS2103AUG2016-W10-C2","id":22439635,"avatar_url":"https://avatars.githubusercontent.com/u/22439635?v=3","gravatar_id":"","url":"https://api.github.com/users/CS2103AUG2016-W10-C2","html_url":"https://github.com/CS2103AUG2016-W10-C2","followers_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/followers","following_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/following{/other_user}","gists_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/subscriptions","organizations_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/orgs","repos_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/repos","events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/received_events","type":"Organization","site_admin":false},"repo":{"id":69740809,"name":"main","full_name":"CS2103AUG2016-W10-C2/main","owner":{"login":"CS2103AUG2016-W10-C2","id":22439635,"avatar_url":"https://avatars.githubusercontent.com/u/22439635?v=3","gravatar_id":"","url":"https://api.github.com/users/CS2103AUG2016-W10-C2","html_url":"https://github.com/CS2103AUG2016-W10-C2","followers_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/followers","following_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/following{/other_user}","gists_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/subscriptions","organizations_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/orgs","repos_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/repos","events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103AUG2016-W10-C2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS2103AUG2016-W10-C2/main","description":"Address Book sample application (Level 4)","fork":true,"url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main","forks_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/forks","keys_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/teams","hooks_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/hooks","issue_events_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/events{/number}","events_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/events","assignees_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/assignees{/user}","branches_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/branches{/branch}","tags_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/tags","blobs_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/statuses/{sha}","languages_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/languages","stargazers_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/stargazers","contributors_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/contributors","subscribers_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/subscribers","subscription_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/subscription","commits_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/contents/{+path}","compare_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/merges","archive_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/downloads","issues_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues{/number}","pulls_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls{/number}","milestones_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/milestones{/number}","notifications_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/labels{/name}","releases_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/releases{/id}","deployments_url":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/deployments","created_at":"2016-10-01T13:40:32Z","updated_at":"2016-10-22T02:37:09Z","pushed_at":"2016-10-25T13:30:20Z","git_url":"git://github.com/CS2103AUG2016-W10-C2/main.git","ssh_url":"git@github.com:CS2103AUG2016-W10-C2/main.git","clone_url":"https://github.com/CS2103AUG2016-W10-C2/main.git","svn_url":"https://github.com/CS2103AUG2016-W10-C2/main","homepage":null,"size":9122,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":34,"forks":3,"open_issues":34,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75"},"html":{"href":"https://github.com/CS2103AUG2016-W10-C2/main/pull/75"},"issue":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/75"},"comments":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/CS2103AUG2016-W10-C2/main/statuses/e1dd8791ff21bb666eb7e58a7b4eb9f4493a19a8"}}}}
{"actor":{"display_login":"tjonganthony"}}