{"action":"created","comment":{"url":"https://api.github.com/repos/Storj/libstorj/pulls/comments/167635830","pull_request_review_id":95881198,"id":167635830,"diff_hunk":"@@ -30,25 +33,42 @@ typedef struct {\n extern int errno;\n #endif\n \n-static inline void noop() {};\n \n #define HELP_TEXT \"usage: storj [<options>] <command> [<args>]\\n\\n\"     \\\n     \"These are common Storj commands for various situations:\\n\\n\"       \\\n-    \"setting up users profiles\\n\"                                       \\\n+    \"setting up users profiles:\\n\"                                      \\\n+    \"=========================\\n\"                                       \\\n     \"  register                  setup a new storj bridge user\\n\"       \\\n     \"  import-keys               import existing user\\n\"                \\\n     \"  export-keys               export bridge user, password and \"     \\\n     \"encryption keys\\n\\n\"                                               \\\n-    \"working with buckets and files\\n\"                                  \\\n+    \"working with buckets and files:\\n\"                                 \\\n+    \"==============================\\n\"                                  \\\n     \"  list-buckets\\n\"                                                  \\\n+    \"  ls (lists the available buckets)\\n\"                              \\\n     \"  list-files <bucket-id>\\n\"                                        \\\n+    \"  ls <bucket-name> (lists the files in a bucket)\\n\"                \\\n+    \"  get-bucket-id <bucket-name>\\n\"                                   \\\n     \"  remove-file <bucket-id> <file-id>\\n\"                             \\\n-    \"  add-bucket <name> \\n\"                                            \\\n+    \"  rm <bucket-name> <file-name> (to remove a file from a bucket)\\n\" \\\n     \"  remove-bucket <bucket-id>\\n\"                                     \\\n-    \"  list-mirrors <bucket-id> <file-id>\\n\\n\"                          \\\n-    \"downloading and uploading files\\n\"                                 \\\n+    \"  rm <bucket-name> (to remove a bucket)\\n\"                         \\\n+    \"  add-bucket <name> \\n\"                                            \\\n+    \"  mkbkt <bucket-name> \\n\"                                          \\\n+    \"  list-mirrors <bucket-id> <file-id>\\n\"                            \\\n+    \"  lm <bucket-name> <file-name>\\n\\n\"                                \\\n+    \"uploading files:\\n\"                                                \\\n+    \"===============\\n\"                                                 \\\n     \"  upload-file <bucket-id> <path>\\n\"                                \\\n-    \"  download-file <bucket-id> <file-id> <path>\\n\"                    \\\n+    \"  cp [-rR] <path-to-local-file-name> \"                             \\","path":"src/cli.c","position":48,"original_position":48,"commit_id":"7654a8f8e7f7328befb170698378e33edd98a285","original_commit_id":"7654a8f8e7f7328befb170698378e33edd98a285","user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars3.githubusercontent.com/u/544777?v=4","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"body":"Grouping the unix style commands in the help text I think would be useful (example from comment at https://github.com/Storj/libstorj/pull/416#issuecomment-363872568)","created_at":"2018-02-12T17:55:55Z","updated_at":"2018-02-12T17:56:21Z","html_url":"https://github.com/Storj/libstorj/pull/416#discussion_r167635830","pull_request_url":"https://api.github.com/repos/Storj/libstorj/pulls/416","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Storj/libstorj/pulls/comments/167635830"},"html":{"href":"https://github.com/Storj/libstorj/pull/416#discussion_r167635830"},"pull_request":{"href":"https://api.github.com/repos/Storj/libstorj/pulls/416"}}},"pull_request":{"url":"https://api.github.com/repos/Storj/libstorj/pulls/416","id":166366216,"html_url":"https://github.com/Storj/libstorj/pull/416","diff_url":"https://github.com/Storj/libstorj/pull/416.diff","patch_url":"https://github.com/Storj/libstorj/pull/416.patch","issue_url":"https://api.github.com/repos/Storj/libstorj/issues/416","number":416,"state":"open","locked":false,"title":"WIP: New CLI linux style command list","user":{"login":"aligeti","id":34487396,"avatar_url":"https://avatars0.githubusercontent.com/u/34487396?v=4","gravatar_id":"","url":"https://api.github.com/users/aligeti","html_url":"https://github.com/aligeti","followers_url":"https://api.github.com/users/aligeti/followers","following_url":"https://api.github.com/users/aligeti/following{/other_user}","gists_url":"https://api.github.com/users/aligeti/gists{/gist_id}","starred_url":"https://api.github.com/users/aligeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligeti/subscriptions","organizations_url":"https://api.github.com/users/aligeti/orgs","repos_url":"https://api.github.com/users/aligeti/repos","events_url":"https://api.github.com/users/aligeti/events{/privacy}","received_events_url":"https://api.github.com/users/aligeti/received_events","type":"User","site_admin":false},"body":"Adding new commands to CLI supporting linux style","created_at":"2018-01-31T20:22:19Z","updated_at":"2018-02-12T17:56:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c755438eb30b5487486990ae0e93032b40b5090","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Storj/libstorj/pulls/416/commits","review_comments_url":"https://api.github.com/repos/Storj/libstorj/pulls/416/comments","review_comment_url":"https://api.github.com/repos/Storj/libstorj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Storj/libstorj/issues/416/comments","statuses_url":"https://api.github.com/repos/Storj/libstorj/statuses/7654a8f8e7f7328befb170698378e33edd98a285","head":{"label":"aligeti:master","ref":"master","sha":"7654a8f8e7f7328befb170698378e33edd98a285","user":{"login":"aligeti","id":34487396,"avatar_url":"https://avatars0.githubusercontent.com/u/34487396?v=4","gravatar_id":"","url":"https://api.github.com/users/aligeti","html_url":"https://github.com/aligeti","followers_url":"https://api.github.com/users/aligeti/followers","following_url":"https://api.github.com/users/aligeti/following{/other_user}","gists_url":"https://api.github.com/users/aligeti/gists{/gist_id}","starred_url":"https://api.github.com/users/aligeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligeti/subscriptions","organizations_url":"https://api.github.com/users/aligeti/orgs","repos_url":"https://api.github.com/users/aligeti/repos","events_url":"https://api.github.com/users/aligeti/events{/privacy}","received_events_url":"https://api.github.com/users/aligeti/received_events","type":"User","site_admin":false},"repo":{"id":114026216,"name":"libstorj","full_name":"aligeti/libstorj","owner":{"login":"aligeti","id":34487396,"avatar_url":"https://avatars0.githubusercontent.com/u/34487396?v=4","gravatar_id":"","url":"https://api.github.com/users/aligeti","html_url":"https://github.com/aligeti","followers_url":"https://api.github.com/users/aligeti/followers","following_url":"https://api.github.com/users/aligeti/following{/other_user}","gists_url":"https://api.github.com/users/aligeti/gists{/gist_id}","starred_url":"https://api.github.com/users/aligeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligeti/subscriptions","organizations_url":"https://api.github.com/users/aligeti/orgs","repos_url":"https://api.github.com/users/aligeti/repos","events_url":"https://api.github.com/users/aligeti/events{/privacy}","received_events_url":"https://api.github.com/users/aligeti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aligeti/libstorj","description":"Asynchronous multi-platform C client library and CLI for encrypted file transfer on the Storj network.","fork":true,"url":"https://api.github.com/repos/aligeti/libstorj","forks_url":"https://api.github.com/repos/aligeti/libstorj/forks","keys_url":"https://api.github.com/repos/aligeti/libstorj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aligeti/libstorj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aligeti/libstorj/teams","hooks_url":"https://api.github.com/repos/aligeti/libstorj/hooks","issue_events_url":"https://api.github.com/repos/aligeti/libstorj/issues/events{/number}","events_url":"https://api.github.com/repos/aligeti/libstorj/events","assignees_url":"https://api.github.com/repos/aligeti/libstorj/assignees{/user}","branches_url":"https://api.github.com/repos/aligeti/libstorj/branches{/branch}","tags_url":"https://api.github.com/repos/aligeti/libstorj/tags","blobs_url":"https://api.github.com/repos/aligeti/libstorj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aligeti/libstorj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aligeti/libstorj/git/refs{/sha}","trees_url":"https://api.github.com/repos/aligeti/libstorj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aligeti/libstorj/statuses/{sha}","languages_url":"https://api.github.com/repos/aligeti/libstorj/languages","stargazers_url":"https://api.github.com/repos/aligeti/libstorj/stargazers","contributors_url":"https://api.github.com/repos/aligeti/libstorj/contributors","subscribers_url":"https://api.github.com/repos/aligeti/libstorj/subscribers","subscription_url":"https://api.github.com/repos/aligeti/libstorj/subscription","commits_url":"https://api.github.com/repos/aligeti/libstorj/commits{/sha}","git_commits_url":"https://api.github.com/repos/aligeti/libstorj/git/commits{/sha}","comments_url":"https://api.github.com/repos/aligeti/libstorj/comments{/number}","issue_comment_url":"https://api.github.com/repos/aligeti/libstorj/issues/comments{/number}","contents_url":"https://api.github.com/repos/aligeti/libstorj/contents/{+path}","compare_url":"https://api.github.com/repos/aligeti/libstorj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aligeti/libstorj/merges","archive_url":"https://api.github.com/repos/aligeti/libstorj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aligeti/libstorj/downloads","issues_url":"https://api.github.com/repos/aligeti/libstorj/issues{/number}","pulls_url":"https://api.github.com/repos/aligeti/libstorj/pulls{/number}","milestones_url":"https://api.github.com/repos/aligeti/libstorj/milestones{/number}","notifications_url":"https://api.github.com/repos/aligeti/libstorj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aligeti/libstorj/labels{/name}","releases_url":"https://api.github.com/repos/aligeti/libstorj/releases{/id}","deployments_url":"https://api.github.com/repos/aligeti/libstorj/deployments","created_at":"2017-12-12T18:40:43Z","updated_at":"2017-12-12T18:40:45Z","pushed_at":"2018-02-12T17:09:18Z","git_url":"git://github.com/aligeti/libstorj.git","ssh_url":"git@github.com:aligeti/libstorj.git","clone_url":"https://github.com/aligeti/libstorj.git","svn_url":"https://github.com/aligeti/libstorj","homepage":"https://storj.io","size":1696,"stargazers_count":0,"watchers_count":0,"language":"C","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":"Storj:master","ref":"master","sha":"bb8e118c94cc6abc4fc5b83d5ff0b65859f6a4ed","user":{"login":"Storj","id":6308081,"avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/Storj","html_url":"https://github.com/Storj","followers_url":"https://api.github.com/users/Storj/followers","following_url":"https://api.github.com/users/Storj/following{/other_user}","gists_url":"https://api.github.com/users/Storj/gists{/gist_id}","starred_url":"https://api.github.com/users/Storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storj/subscriptions","organizations_url":"https://api.github.com/users/Storj/orgs","repos_url":"https://api.github.com/users/Storj/repos","events_url":"https://api.github.com/users/Storj/events{/privacy}","received_events_url":"https://api.github.com/users/Storj/received_events","type":"Organization","site_admin":false},"repo":{"id":73094989,"name":"libstorj","full_name":"Storj/libstorj","owner":{"login":"Storj","id":6308081,"avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/Storj","html_url":"https://github.com/Storj","followers_url":"https://api.github.com/users/Storj/followers","following_url":"https://api.github.com/users/Storj/following{/other_user}","gists_url":"https://api.github.com/users/Storj/gists{/gist_id}","starred_url":"https://api.github.com/users/Storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storj/subscriptions","organizations_url":"https://api.github.com/users/Storj/orgs","repos_url":"https://api.github.com/users/Storj/repos","events_url":"https://api.github.com/users/Storj/events{/privacy}","received_events_url":"https://api.github.com/users/Storj/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Storj/libstorj","description":"Asynchronous multi-platform C client library and CLI for encrypted file transfer on the Storj network.","fork":false,"url":"https://api.github.com/repos/Storj/libstorj","forks_url":"https://api.github.com/repos/Storj/libstorj/forks","keys_url":"https://api.github.com/repos/Storj/libstorj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Storj/libstorj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Storj/libstorj/teams","hooks_url":"https://api.github.com/repos/Storj/libstorj/hooks","issue_events_url":"https://api.github.com/repos/Storj/libstorj/issues/events{/number}","events_url":"https://api.github.com/repos/Storj/libstorj/events","assignees_url":"https://api.github.com/repos/Storj/libstorj/assignees{/user}","branches_url":"https://api.github.com/repos/Storj/libstorj/branches{/branch}","tags_url":"https://api.github.com/repos/Storj/libstorj/tags","blobs_url":"https://api.github.com/repos/Storj/libstorj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Storj/libstorj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Storj/libstorj/git/refs{/sha}","trees_url":"https://api.github.com/repos/Storj/libstorj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Storj/libstorj/statuses/{sha}","languages_url":"https://api.github.com/repos/Storj/libstorj/languages","stargazers_url":"https://api.github.com/repos/Storj/libstorj/stargazers","contributors_url":"https://api.github.com/repos/Storj/libstorj/contributors","subscribers_url":"https://api.github.com/repos/Storj/libstorj/subscribers","subscription_url":"https://api.github.com/repos/Storj/libstorj/subscription","commits_url":"https://api.github.com/repos/Storj/libstorj/commits{/sha}","git_commits_url":"https://api.github.com/repos/Storj/libstorj/git/commits{/sha}","comments_url":"https://api.github.com/repos/Storj/libstorj/comments{/number}","issue_comment_url":"https://api.github.com/repos/Storj/libstorj/issues/comments{/number}","contents_url":"https://api.github.com/repos/Storj/libstorj/contents/{+path}","compare_url":"https://api.github.com/repos/Storj/libstorj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Storj/libstorj/merges","archive_url":"https://api.github.com/repos/Storj/libstorj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Storj/libstorj/downloads","issues_url":"https://api.github.com/repos/Storj/libstorj/issues{/number}","pulls_url":"https://api.github.com/repos/Storj/libstorj/pulls{/number}","milestones_url":"https://api.github.com/repos/Storj/libstorj/milestones{/number}","notifications_url":"https://api.github.com/repos/Storj/libstorj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Storj/libstorj/labels{/name}","releases_url":"https://api.github.com/repos/Storj/libstorj/releases{/id}","deployments_url":"https://api.github.com/repos/Storj/libstorj/deployments","created_at":"2016-11-07T15:52:36Z","updated_at":"2018-02-09T22:14:45Z","pushed_at":"2018-02-12T17:09:19Z","git_url":"git://github.com/Storj/libstorj.git","ssh_url":"git@github.com:Storj/libstorj.git","clone_url":"https://github.com/Storj/libstorj.git","svn_url":"https://github.com/Storj/libstorj","homepage":"https://storj.io","size":1522,"stargazers_count":86,"watchers_count":86,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":35,"open_issues":48,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Storj/libstorj/pulls/416"},"html":{"href":"https://github.com/Storj/libstorj/pull/416"},"issue":{"href":"https://api.github.com/repos/Storj/libstorj/issues/416"},"comments":{"href":"https://api.github.com/repos/Storj/libstorj/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/Storj/libstorj/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/Storj/libstorj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Storj/libstorj/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/Storj/libstorj/statuses/7654a8f8e7f7328befb170698378e33edd98a285"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"braydonf"}}