{"action":"created","comment":{"url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments/173682368","pull_request_review_id":102909480,"id":173682368,"diff_hunk":"@@ -3,22 +3,37 @@\n \n units\n ---\n-TODO: Add documentation for this command by submitting a pull request.\n-<!-- one line explanation would go here -->\n+`units` converts quantities from one unit to another unit. It can be used interactively or non-interactively.\n+\n \n-<!-- minimal example -->\n ~~~ bash\n-*short* example of command usage and output\n+$ units '10 meters' 'feet'\n+# displays * 32.808399 \n+           / .03048\n ~~~\n \n <!--more-->\n \n ### Useful Options / Examples\n \n-#### Example command\n+To view available units, look in /usr/share/units/definitions.units\n+\n+### Using `units` Interactively\n+Brings up an interactive prompt. The line with the * gives the result. The line with the / gives the inverse of the conversion factor. In the example below, 10 meters in 32.808399 feet, and 1 foot is .03038 decameters.","path":"_commands/tools/units.md","position":25,"original_position":25,"commit_id":"85bca760a68c4be8e5da94e0bca64b13c75eef4c","original_commit_id":"85bca760a68c4be8e5da94e0bca64b13c75eef4c","user":{"login":"cyanliu","id":11037821,"avatar_url":"https://avatars3.githubusercontent.com/u/11037821?v=4","gravatar_id":"","url":"https://api.github.com/users/cyanliu","html_url":"https://github.com/cyanliu","followers_url":"https://api.github.com/users/cyanliu/followers","following_url":"https://api.github.com/users/cyanliu/following{/other_user}","gists_url":"https://api.github.com/users/cyanliu/gists{/gist_id}","starred_url":"https://api.github.com/users/cyanliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyanliu/subscriptions","organizations_url":"https://api.github.com/users/cyanliu/orgs","repos_url":"https://api.github.com/users/cyanliu/repos","events_url":"https://api.github.com/users/cyanliu/events{/privacy}","received_events_url":"https://api.github.com/users/cyanliu/received_events","type":"User","site_admin":false},"body":"could you describe the interactive prompt more precisely? i.e. that you'd need to supply information in the order of what you have, *then* what you want, and you will continue to be reprompted until you exit","created_at":"2018-03-12T02:09:57Z","updated_at":"2018-03-12T02:11:58Z","html_url":"https://github.com/c4cs/c4cs.github.io/pull/597#discussion_r173682368","pull_request_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments/173682368"},"html":{"href":"https://github.com/c4cs/c4cs.github.io/pull/597#discussion_r173682368"},"pull_request":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597"}}},"pull_request":{"url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597","id":170374596,"html_url":"https://github.com/c4cs/c4cs.github.io/pull/597","diff_url":"https://github.com/c4cs/c4cs.github.io/pull/597.diff","patch_url":"https://github.com/c4cs/c4cs.github.io/pull/597.patch","issue_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/597","number":597,"state":"open","locked":false,"title":"Units","user":{"login":"deannajs","id":25372118,"avatar_url":"https://avatars2.githubusercontent.com/u/25372118?v=4","gravatar_id":"","url":"https://api.github.com/users/deannajs","html_url":"https://github.com/deannajs","followers_url":"https://api.github.com/users/deannajs/followers","following_url":"https://api.github.com/users/deannajs/following{/other_user}","gists_url":"https://api.github.com/users/deannajs/gists{/gist_id}","starred_url":"https://api.github.com/users/deannajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deannajs/subscriptions","organizations_url":"https://api.github.com/users/deannajs/orgs","repos_url":"https://api.github.com/users/deannajs/repos","events_url":"https://api.github.com/users/deannajs/events{/privacy}","received_events_url":"https://api.github.com/users/deannajs/received_events","type":"User","site_admin":false},"body":"# Advanced HW 5 submission\r\n\r\nCloses #596 \r\n\r\nName: Deanna Shih\r\nUniqname: deannajs\r\n","created_at":"2018-02-21T04:34:56Z","updated_at":"2018-03-12T02:11:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5889346cd212f1de3d8a4bd8c9b5e99d3c48c604","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597/commits","review_comments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597/comments","review_comment_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/597/comments","statuses_url":"https://api.github.com/repos/c4cs/c4cs.github.io/statuses/85bca760a68c4be8e5da94e0bca64b13c75eef4c","head":{"label":"deannajs:units","ref":"units","sha":"85bca760a68c4be8e5da94e0bca64b13c75eef4c","user":{"login":"deannajs","id":25372118,"avatar_url":"https://avatars2.githubusercontent.com/u/25372118?v=4","gravatar_id":"","url":"https://api.github.com/users/deannajs","html_url":"https://github.com/deannajs","followers_url":"https://api.github.com/users/deannajs/followers","following_url":"https://api.github.com/users/deannajs/following{/other_user}","gists_url":"https://api.github.com/users/deannajs/gists{/gist_id}","starred_url":"https://api.github.com/users/deannajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deannajs/subscriptions","organizations_url":"https://api.github.com/users/deannajs/orgs","repos_url":"https://api.github.com/users/deannajs/repos","events_url":"https://api.github.com/users/deannajs/events{/privacy}","received_events_url":"https://api.github.com/users/deannajs/received_events","type":"User","site_admin":false},"repo":{"id":121036712,"name":"c4cs.github.io","full_name":"deannajs/c4cs.github.io","owner":{"login":"deannajs","id":25372118,"avatar_url":"https://avatars2.githubusercontent.com/u/25372118?v=4","gravatar_id":"","url":"https://api.github.com/users/deannajs","html_url":"https://github.com/deannajs","followers_url":"https://api.github.com/users/deannajs/followers","following_url":"https://api.github.com/users/deannajs/following{/other_user}","gists_url":"https://api.github.com/users/deannajs/gists{/gist_id}","starred_url":"https://api.github.com/users/deannajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deannajs/subscriptions","organizations_url":"https://api.github.com/users/deannajs/orgs","repos_url":"https://api.github.com/users/deannajs/repos","events_url":"https://api.github.com/users/deannajs/events{/privacy}","received_events_url":"https://api.github.com/users/deannajs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deannajs/c4cs.github.io","description":"Course Homepage for Computing for Computer Scientists","fork":true,"url":"https://api.github.com/repos/deannajs/c4cs.github.io","forks_url":"https://api.github.com/repos/deannajs/c4cs.github.io/forks","keys_url":"https://api.github.com/repos/deannajs/c4cs.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deannajs/c4cs.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deannajs/c4cs.github.io/teams","hooks_url":"https://api.github.com/repos/deannajs/c4cs.github.io/hooks","issue_events_url":"https://api.github.com/repos/deannajs/c4cs.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/deannajs/c4cs.github.io/events","assignees_url":"https://api.github.com/repos/deannajs/c4cs.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/deannajs/c4cs.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/deannajs/c4cs.github.io/tags","blobs_url":"https://api.github.com/repos/deannajs/c4cs.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deannajs/c4cs.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deannajs/c4cs.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/deannajs/c4cs.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deannajs/c4cs.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/deannajs/c4cs.github.io/languages","stargazers_url":"https://api.github.com/repos/deannajs/c4cs.github.io/stargazers","contributors_url":"https://api.github.com/repos/deannajs/c4cs.github.io/contributors","subscribers_url":"https://api.github.com/repos/deannajs/c4cs.github.io/subscribers","subscription_url":"https://api.github.com/repos/deannajs/c4cs.github.io/subscription","commits_url":"https://api.github.com/repos/deannajs/c4cs.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/deannajs/c4cs.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/deannajs/c4cs.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/deannajs/c4cs.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/deannajs/c4cs.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/deannajs/c4cs.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deannajs/c4cs.github.io/merges","archive_url":"https://api.github.com/repos/deannajs/c4cs.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deannajs/c4cs.github.io/downloads","issues_url":"https://api.github.com/repos/deannajs/c4cs.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/deannajs/c4cs.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/deannajs/c4cs.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/deannajs/c4cs.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deannajs/c4cs.github.io/labels{/name}","releases_url":"https://api.github.com/repos/deannajs/c4cs.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/deannajs/c4cs.github.io/deployments","created_at":"2018-02-10T17:23:45Z","updated_at":"2018-02-10T17:23:49Z","pushed_at":"2018-02-21T04:33:29Z","git_url":"git://github.com/deannajs/c4cs.github.io.git","ssh_url":"git@github.com:deannajs/c4cs.github.io.git","clone_url":"https://github.com/deannajs/c4cs.github.io.git","svn_url":"https://github.com/deannajs/c4cs.github.io","homepage":"https://c4cs.github.io","size":130205,"stargazers_count":0,"watchers_count":0,"language":"TeX","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"c4cs:master","ref":"master","sha":"547c57dfa5ba2f956626e131a1bbd36be6d60f7f","user":{"login":"c4cs","id":16329160,"avatar_url":"https://avatars3.githubusercontent.com/u/16329160?v=4","gravatar_id":"","url":"https://api.github.com/users/c4cs","html_url":"https://github.com/c4cs","followers_url":"https://api.github.com/users/c4cs/followers","following_url":"https://api.github.com/users/c4cs/following{/other_user}","gists_url":"https://api.github.com/users/c4cs/gists{/gist_id}","starred_url":"https://api.github.com/users/c4cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c4cs/subscriptions","organizations_url":"https://api.github.com/users/c4cs/orgs","repos_url":"https://api.github.com/users/c4cs/repos","events_url":"https://api.github.com/users/c4cs/events{/privacy}","received_events_url":"https://api.github.com/users/c4cs/received_events","type":"Organization","site_admin":false},"repo":{"id":48143708,"name":"c4cs.github.io","full_name":"c4cs/c4cs.github.io","owner":{"login":"c4cs","id":16329160,"avatar_url":"https://avatars3.githubusercontent.com/u/16329160?v=4","gravatar_id":"","url":"https://api.github.com/users/c4cs","html_url":"https://github.com/c4cs","followers_url":"https://api.github.com/users/c4cs/followers","following_url":"https://api.github.com/users/c4cs/following{/other_user}","gists_url":"https://api.github.com/users/c4cs/gists{/gist_id}","starred_url":"https://api.github.com/users/c4cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c4cs/subscriptions","organizations_url":"https://api.github.com/users/c4cs/orgs","repos_url":"https://api.github.com/users/c4cs/repos","events_url":"https://api.github.com/users/c4cs/events{/privacy}","received_events_url":"https://api.github.com/users/c4cs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/c4cs/c4cs.github.io","description":"Course Homepage for Computing for Computer Scientists","fork":false,"url":"https://api.github.com/repos/c4cs/c4cs.github.io","forks_url":"https://api.github.com/repos/c4cs/c4cs.github.io/forks","keys_url":"https://api.github.com/repos/c4cs/c4cs.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c4cs/c4cs.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c4cs/c4cs.github.io/teams","hooks_url":"https://api.github.com/repos/c4cs/c4cs.github.io/hooks","issue_events_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/c4cs/c4cs.github.io/events","assignees_url":"https://api.github.com/repos/c4cs/c4cs.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/c4cs/c4cs.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/c4cs/c4cs.github.io/tags","blobs_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c4cs/c4cs.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/c4cs/c4cs.github.io/languages","stargazers_url":"https://api.github.com/repos/c4cs/c4cs.github.io/stargazers","contributors_url":"https://api.github.com/repos/c4cs/c4cs.github.io/contributors","subscribers_url":"https://api.github.com/repos/c4cs/c4cs.github.io/subscribers","subscription_url":"https://api.github.com/repos/c4cs/c4cs.github.io/subscription","commits_url":"https://api.github.com/repos/c4cs/c4cs.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/c4cs/c4cs.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/c4cs/c4cs.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c4cs/c4cs.github.io/merges","archive_url":"https://api.github.com/repos/c4cs/c4cs.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c4cs/c4cs.github.io/downloads","issues_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/c4cs/c4cs.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/c4cs/c4cs.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c4cs/c4cs.github.io/labels{/name}","releases_url":"https://api.github.com/repos/c4cs/c4cs.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/deployments","created_at":"2015-12-17T00:53:20Z","updated_at":"2018-01-05T14:38:25Z","pushed_at":"2018-03-12T01:34:30Z","git_url":"git://github.com/c4cs/c4cs.github.io.git","ssh_url":"git@github.com:c4cs/c4cs.github.io.git","clone_url":"https://github.com/c4cs/c4cs.github.io.git","svn_url":"https://github.com/c4cs/c4cs.github.io","homepage":"https://c4cs.github.io","size":132625,"stargazers_count":12,"watchers_count":12,"language":"TeX","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":244,"mirror_url":null,"archived":false,"open_issues_count":157,"license":null,"forks":244,"open_issues":157,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597"},"html":{"href":"https://github.com/c4cs/c4cs.github.io/pull/597"},"issue":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/597"},"comments":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/597/comments"},"review_comments":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597/comments"},"review_comment":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/597/commits"},"statuses":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/statuses/85bca760a68c4be8e5da94e0bca64b13c75eef4c"}},"author_association":"NONE"}}
{"actor":{"display_login":"cyanliu"}}