{"action":"created","comment":{"url":"https://api.github.com/repos/nerves-project/cell-tool/pulls/comments/42782392","id":42782392,"diff_hunk":"@@ -34,9 +34,12 @@ defmodule CellTool do\n       cell: /jrtp/sys/firmware/current -> ok\n   \"\"\"\n \n+  @cell_tool_version Mix.Project.config[:version]\n+\n   @doc \"Function that gets call when run as CLI\"\n   def main(args) do\n-    args |> parse_args\n+    args\n+      |> parse_args","path":"lib/cell_tool.ex","position":10,"original_position":10,"commit_id":"b513c093b6c3bb17fb59574d20b15f2f405bbb32","original_commit_id":"b513c093b6c3bb17fb59574d20b15f2f405bbb32","user":{"login":"ghitchens","id":356424,"avatar_url":"https://avatars.githubusercontent.com/u/356424?v=3","gravatar_id":"","url":"https://api.github.com/users/ghitchens","html_url":"https://github.com/ghitchens","followers_url":"https://api.github.com/users/ghitchens/followers","following_url":"https://api.github.com/users/ghitchens/following{/other_user}","gists_url":"https://api.github.com/users/ghitchens/gists{/gist_id}","starred_url":"https://api.github.com/users/ghitchens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghitchens/subscriptions","organizations_url":"https://api.github.com/users/ghitchens/orgs","repos_url":"https://api.github.com/users/ghitchens/repos","events_url":"https://api.github.com/users/ghitchens/events{/privacy}","received_events_url":"https://api.github.com/users/ghitchens/received_events","type":"User","site_admin":false},"body":"@milmazz @mobileoverlord took care of it already.   Thanks!","created_at":"2015-10-22T17:58:03Z","updated_at":"2015-10-22T17:58:03Z","html_url":"https://github.com/nerves-project/cell-tool/pull/5#discussion_r42782392","pull_request_url":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/nerves-project/cell-tool/pulls/comments/42782392"},"html":{"href":"https://github.com/nerves-project/cell-tool/pull/5#discussion_r42782392"},"pull_request":{"href":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5","id":48290615,"html_url":"https://github.com/nerves-project/cell-tool/pull/5","diff_url":"https://github.com/nerves-project/cell-tool/pull/5.diff","patch_url":"https://github.com/nerves-project/cell-tool/pull/5.patch","issue_url":"https://api.github.com/repos/nerves-project/cell-tool/issues/5","number":5,"state":"closed","locked":false,"title":"Data transformation","user":{"login":"milmazz","id":34700,"avatar_url":"https://avatars.githubusercontent.com/u/34700?v=3","gravatar_id":"","url":"https://api.github.com/users/milmazz","html_url":"https://github.com/milmazz","followers_url":"https://api.github.com/users/milmazz/followers","following_url":"https://api.github.com/users/milmazz/following{/other_user}","gists_url":"https://api.github.com/users/milmazz/gists{/gist_id}","starred_url":"https://api.github.com/users/milmazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milmazz/subscriptions","organizations_url":"https://api.github.com/users/milmazz/orgs","repos_url":"https://api.github.com/users/milmazz/repos","events_url":"https://api.github.com/users/milmazz/events{/privacy}","received_events_url":"https://api.github.com/users/milmazz/received_events","type":"User","site_admin":false},"body":"This PR include a few improvements:\r\n\r\n* Now it's possible to show the program version via `cell --version` or `cell -v`\r\n* Use `:inet` instead of `:inet_parse` for the `Inet` module\r\n* Change the code style for commands, now in each command you can see the all workflow of the data transformation.\r\n\r\nAs always, any feedback is more than welcome.","created_at":"2015-10-21T05:49:34Z","updated_at":"2015-10-22T17:58:03Z","closed_at":"2015-10-22T12:40:53Z","merged_at":"2015-10-22T12:40:53Z","merge_commit_sha":"f9042fb5864b1120fbb7608a1506d8100733e172","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5/commits","review_comments_url":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5/comments","review_comment_url":"https://api.github.com/repos/nerves-project/cell-tool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nerves-project/cell-tool/issues/5/comments","statuses_url":"https://api.github.com/repos/nerves-project/cell-tool/statuses/b513c093b6c3bb17fb59574d20b15f2f405bbb32","head":{"label":"milmazz:data-transformation","ref":"data-transformation","sha":"b513c093b6c3bb17fb59574d20b15f2f405bbb32","user":{"login":"milmazz","id":34700,"avatar_url":"https://avatars.githubusercontent.com/u/34700?v=3","gravatar_id":"","url":"https://api.github.com/users/milmazz","html_url":"https://github.com/milmazz","followers_url":"https://api.github.com/users/milmazz/followers","following_url":"https://api.github.com/users/milmazz/following{/other_user}","gists_url":"https://api.github.com/users/milmazz/gists{/gist_id}","starred_url":"https://api.github.com/users/milmazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milmazz/subscriptions","organizations_url":"https://api.github.com/users/milmazz/orgs","repos_url":"https://api.github.com/users/milmazz/repos","events_url":"https://api.github.com/users/milmazz/events{/privacy}","received_events_url":"https://api.github.com/users/milmazz/received_events","type":"User","site_admin":false},"repo":{"id":44582664,"name":"cell-tool","full_name":"milmazz/cell-tool","owner":{"login":"milmazz","id":34700,"avatar_url":"https://avatars.githubusercontent.com/u/34700?v=3","gravatar_id":"","url":"https://api.github.com/users/milmazz","html_url":"https://github.com/milmazz","followers_url":"https://api.github.com/users/milmazz/followers","following_url":"https://api.github.com/users/milmazz/following{/other_user}","gists_url":"https://api.github.com/users/milmazz/gists{/gist_id}","starred_url":"https://api.github.com/users/milmazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milmazz/subscriptions","organizations_url":"https://api.github.com/users/milmazz/orgs","repos_url":"https://api.github.com/users/milmazz/repos","events_url":"https://api.github.com/users/milmazz/events{/privacy}","received_events_url":"https://api.github.com/users/milmazz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milmazz/cell-tool","description":"Utility for managing nerves devices","fork":true,"url":"https://api.github.com/repos/milmazz/cell-tool","forks_url":"https://api.github.com/repos/milmazz/cell-tool/forks","keys_url":"https://api.github.com/repos/milmazz/cell-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milmazz/cell-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milmazz/cell-tool/teams","hooks_url":"https://api.github.com/repos/milmazz/cell-tool/hooks","issue_events_url":"https://api.github.com/repos/milmazz/cell-tool/issues/events{/number}","events_url":"https://api.github.com/repos/milmazz/cell-tool/events","assignees_url":"https://api.github.com/repos/milmazz/cell-tool/assignees{/user}","branches_url":"https://api.github.com/repos/milmazz/cell-tool/branches{/branch}","tags_url":"https://api.github.com/repos/milmazz/cell-tool/tags","blobs_url":"https://api.github.com/repos/milmazz/cell-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milmazz/cell-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milmazz/cell-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/milmazz/cell-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milmazz/cell-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/milmazz/cell-tool/languages","stargazers_url":"https://api.github.com/repos/milmazz/cell-tool/stargazers","contributors_url":"https://api.github.com/repos/milmazz/cell-tool/contributors","subscribers_url":"https://api.github.com/repos/milmazz/cell-tool/subscribers","subscription_url":"https://api.github.com/repos/milmazz/cell-tool/subscription","commits_url":"https://api.github.com/repos/milmazz/cell-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/milmazz/cell-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/milmazz/cell-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/milmazz/cell-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/milmazz/cell-tool/contents/{+path}","compare_url":"https://api.github.com/repos/milmazz/cell-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milmazz/cell-tool/merges","archive_url":"https://api.github.com/repos/milmazz/cell-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milmazz/cell-tool/downloads","issues_url":"https://api.github.com/repos/milmazz/cell-tool/issues{/number}","pulls_url":"https://api.github.com/repos/milmazz/cell-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/milmazz/cell-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/milmazz/cell-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milmazz/cell-tool/labels{/name}","releases_url":"https://api.github.com/repos/milmazz/cell-tool/releases{/id}","created_at":"2015-10-20T04:43:06Z","updated_at":"2015-10-20T04:43:07Z","pushed_at":"2015-10-21T05:41:01Z","git_url":"git://github.com/milmazz/cell-tool.git","ssh_url":"git@github.com:milmazz/cell-tool.git","clone_url":"https://github.com/milmazz/cell-tool.git","svn_url":"https://github.com/milmazz/cell-tool","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nerves-project:master","ref":"master","sha":"37c481b2507a16f51c05721b0f4f379215b3218d","user":{"login":"nerves-project","id":1404231,"avatar_url":"https://avatars.githubusercontent.com/u/1404231?v=3","gravatar_id":"","url":"https://api.github.com/users/nerves-project","html_url":"https://github.com/nerves-project","followers_url":"https://api.github.com/users/nerves-project/followers","following_url":"https://api.github.com/users/nerves-project/following{/other_user}","gists_url":"https://api.github.com/users/nerves-project/gists{/gist_id}","starred_url":"https://api.github.com/users/nerves-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerves-project/subscriptions","organizations_url":"https://api.github.com/users/nerves-project/orgs","repos_url":"https://api.github.com/users/nerves-project/repos","events_url":"https://api.github.com/users/nerves-project/events{/privacy}","received_events_url":"https://api.github.com/users/nerves-project/received_events","type":"Organization","site_admin":false},"repo":{"id":44288724,"name":"cell-tool","full_name":"nerves-project/cell-tool","owner":{"login":"nerves-project","id":1404231,"avatar_url":"https://avatars.githubusercontent.com/u/1404231?v=3","gravatar_id":"","url":"https://api.github.com/users/nerves-project","html_url":"https://github.com/nerves-project","followers_url":"https://api.github.com/users/nerves-project/followers","following_url":"https://api.github.com/users/nerves-project/following{/other_user}","gists_url":"https://api.github.com/users/nerves-project/gists{/gist_id}","starred_url":"https://api.github.com/users/nerves-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerves-project/subscriptions","organizations_url":"https://api.github.com/users/nerves-project/orgs","repos_url":"https://api.github.com/users/nerves-project/repos","events_url":"https://api.github.com/users/nerves-project/events{/privacy}","received_events_url":"https://api.github.com/users/nerves-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nerves-project/cell-tool","description":"Utility for managing nerves devices","fork":false,"url":"https://api.github.com/repos/nerves-project/cell-tool","forks_url":"https://api.github.com/repos/nerves-project/cell-tool/forks","keys_url":"https://api.github.com/repos/nerves-project/cell-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nerves-project/cell-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nerves-project/cell-tool/teams","hooks_url":"https://api.github.com/repos/nerves-project/cell-tool/hooks","issue_events_url":"https://api.github.com/repos/nerves-project/cell-tool/issues/events{/number}","events_url":"https://api.github.com/repos/nerves-project/cell-tool/events","assignees_url":"https://api.github.com/repos/nerves-project/cell-tool/assignees{/user}","branches_url":"https://api.github.com/repos/nerves-project/cell-tool/branches{/branch}","tags_url":"https://api.github.com/repos/nerves-project/cell-tool/tags","blobs_url":"https://api.github.com/repos/nerves-project/cell-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nerves-project/cell-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nerves-project/cell-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/nerves-project/cell-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nerves-project/cell-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/nerves-project/cell-tool/languages","stargazers_url":"https://api.github.com/repos/nerves-project/cell-tool/stargazers","contributors_url":"https://api.github.com/repos/nerves-project/cell-tool/contributors","subscribers_url":"https://api.github.com/repos/nerves-project/cell-tool/subscribers","subscription_url":"https://api.github.com/repos/nerves-project/cell-tool/subscription","commits_url":"https://api.github.com/repos/nerves-project/cell-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/nerves-project/cell-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/nerves-project/cell-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/nerves-project/cell-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/nerves-project/cell-tool/contents/{+path}","compare_url":"https://api.github.com/repos/nerves-project/cell-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nerves-project/cell-tool/merges","archive_url":"https://api.github.com/repos/nerves-project/cell-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nerves-project/cell-tool/downloads","issues_url":"https://api.github.com/repos/nerves-project/cell-tool/issues{/number}","pulls_url":"https://api.github.com/repos/nerves-project/cell-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/nerves-project/cell-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/nerves-project/cell-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nerves-project/cell-tool/labels{/name}","releases_url":"https://api.github.com/repos/nerves-project/cell-tool/releases{/id}","created_at":"2015-10-15T02:24:27Z","updated_at":"2015-10-15T02:24:44Z","pushed_at":"2015-10-22T17:57:48Z","git_url":"git://github.com/nerves-project/cell-tool.git","ssh_url":"git@github.com:nerves-project/cell-tool.git","clone_url":"https://github.com/nerves-project/cell-tool.git","svn_url":"https://github.com/nerves-project/cell-tool","homepage":null,"size":210,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5"},"html":{"href":"https://github.com/nerves-project/cell-tool/pull/5"},"issue":{"href":"https://api.github.com/repos/nerves-project/cell-tool/issues/5"},"comments":{"href":"https://api.github.com/repos/nerves-project/cell-tool/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/nerves-project/cell-tool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nerves-project/cell-tool/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/nerves-project/cell-tool/statuses/b513c093b6c3bb17fb59574d20b15f2f405bbb32"}}}}