{"action":"created","comment":{"url":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments/56805350","id":56805350,"diff_hunk":"@@ -0,0 +1,14 @@\n+{","path":".atom-build.json","position":1,"original_position":1,"commit_id":"7715cc9b6a0abf7f9879903a5e6f52e50286ca03","original_commit_id":"7715cc9b6a0abf7f9879903a5e6f52e50286ca03","user":{"login":"nwinkler","id":907063,"avatar_url":"https://avatars.githubusercontent.com/u/907063?v=3","gravatar_id":"","url":"https://api.github.com/users/nwinkler","html_url":"https://github.com/nwinkler","followers_url":"https://api.github.com/users/nwinkler/followers","following_url":"https://api.github.com/users/nwinkler/following{/other_user}","gists_url":"https://api.github.com/users/nwinkler/gists{/gist_id}","starred_url":"https://api.github.com/users/nwinkler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwinkler/subscriptions","organizations_url":"https://api.github.com/users/nwinkler/orgs","repos_url":"https://api.github.com/users/nwinkler/repos","events_url":"https://api.github.com/users/nwinkler/events{/privacy}","received_events_url":"https://api.github.com/users/nwinkler/received_events","type":"User","site_admin":false},"body":"This file shouldn't be here, I guess... I use Atom as well, but this file shouldn't be in the source repo.","created_at":"2016-03-21T10:55:50Z","updated_at":"2016-03-21T10:55:50Z","html_url":"https://github.com/Bash-it/bash-it/pull/681#discussion_r56805350","pull_request_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/681","_links":{"self":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments/56805350"},"html":{"href":"https://github.com/Bash-it/bash-it/pull/681#discussion_r56805350"},"pull_request":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/681"}}},"pull_request":{"url":"https://api.github.com/repos/Bash-it/bash-it/pulls/681","id":63528686,"html_url":"https://github.com/Bash-it/bash-it/pull/681","diff_url":"https://github.com/Bash-it/bash-it/pull/681.diff","patch_url":"https://github.com/Bash-it/bash-it/pull/681.patch","issue_url":"https://api.github.com/repos/Bash-it/bash-it/issues/681","number":681,"state":"open","locked":false,"title":"New command: \"bash-it search <term1> <term2>, ....\"","user":{"login":"kigster","id":259982,"avatar_url":"https://avatars.githubusercontent.com/u/259982?v=3","gravatar_id":"","url":"https://api.github.com/users/kigster","html_url":"https://github.com/kigster","followers_url":"https://api.github.com/users/kigster/followers","following_url":"https://api.github.com/users/kigster/following{/other_user}","gists_url":"https://api.github.com/users/kigster/gists{/gist_id}","starred_url":"https://api.github.com/users/kigster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kigster/subscriptions","organizations_url":"https://api.github.com/users/kigster/orgs","repos_url":"https://api.github.com/users/kigster/repos","events_url":"https://api.github.com/users/kigster/events{/privacy}","received_events_url":"https://api.github.com/users/kigster/received_events","type":"User","site_admin":false},"body":"### Motivation\r\n\r\nGiven the ever-growing list of plugins, aliases, and completions, it seems that it would be difficult to ensure one uses bash-it to it's fullest.\r\n\r\nFor example, a Ruby programmer might want to install all plugins, aliases, and completions, related to several commands standard in Ruby development, such as `ruby`, `rake`, `gem`, `bundle`, etc. To find the list of relevant bash-it components by hand is rather tedious. \r\n\r\n### Solution\r\n\r\nThis PR introduces a new command `search` which is based on a very simple case-insensitive search (using `grep`) for a list of provided terms in the names *and descriptions* of all bash-it components, returning a result broken down by type of the component:\r\n\r\nFor example:\r\n```bash\r\n\r\n❯  bash-it search ruby rbenv rvm gem rake\r\n\r\n    aliases: bundler\r\n    plugins: chruby chruby-auto rbenv ruby rvm\r\ncompletions: gem rake\r\n```\r\n\r\n### Search + Action (Future Proposal)\r\n\r\nIt seems that a natural, logical step could be introducing the `--enable` and `--disable` flags, so that the search results can be instantly acted upon:\r\n\r\n__NOTE: Proposed functionality__:\r\n\r\n```\r\nbash-it search ruby rbenv gem bundler rake --enable` \r\n```\r\n\r\nAfter this PR is discussed and accepted, it would make sense to continue down this route.\r\n\r\n~Konstantin\r\n","created_at":"2016-03-21T07:30:08Z","updated_at":"2016-03-21T10:55:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebd00cb63a5d8e19320499f6481cf659d921e556","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/681/commits","review_comments_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/681/comments","review_comment_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Bash-it/bash-it/issues/681/comments","statuses_url":"https://api.github.com/repos/Bash-it/bash-it/statuses/7715cc9b6a0abf7f9879903a5e6f52e50286ca03","head":{"label":"kigster:bash-it-search-command","ref":"bash-it-search-command","sha":"7715cc9b6a0abf7f9879903a5e6f52e50286ca03","user":{"login":"kigster","id":259982,"avatar_url":"https://avatars.githubusercontent.com/u/259982?v=3","gravatar_id":"","url":"https://api.github.com/users/kigster","html_url":"https://github.com/kigster","followers_url":"https://api.github.com/users/kigster/followers","following_url":"https://api.github.com/users/kigster/following{/other_user}","gists_url":"https://api.github.com/users/kigster/gists{/gist_id}","starred_url":"https://api.github.com/users/kigster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kigster/subscriptions","organizations_url":"https://api.github.com/users/kigster/orgs","repos_url":"https://api.github.com/users/kigster/repos","events_url":"https://api.github.com/users/kigster/events{/privacy}","received_events_url":"https://api.github.com/users/kigster/received_events","type":"User","site_admin":false},"repo":{"id":53771656,"name":"bash-it","full_name":"kigster/bash-it","owner":{"login":"kigster","id":259982,"avatar_url":"https://avatars.githubusercontent.com/u/259982?v=3","gravatar_id":"","url":"https://api.github.com/users/kigster","html_url":"https://github.com/kigster","followers_url":"https://api.github.com/users/kigster/followers","following_url":"https://api.github.com/users/kigster/following{/other_user}","gists_url":"https://api.github.com/users/kigster/gists{/gist_id}","starred_url":"https://api.github.com/users/kigster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kigster/subscriptions","organizations_url":"https://api.github.com/users/kigster/orgs","repos_url":"https://api.github.com/users/kigster/repos","events_url":"https://api.github.com/users/kigster/events{/privacy}","received_events_url":"https://api.github.com/users/kigster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kigster/bash-it","description":"A community Bash framework.","fork":true,"url":"https://api.github.com/repos/kigster/bash-it","forks_url":"https://api.github.com/repos/kigster/bash-it/forks","keys_url":"https://api.github.com/repos/kigster/bash-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kigster/bash-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kigster/bash-it/teams","hooks_url":"https://api.github.com/repos/kigster/bash-it/hooks","issue_events_url":"https://api.github.com/repos/kigster/bash-it/issues/events{/number}","events_url":"https://api.github.com/repos/kigster/bash-it/events","assignees_url":"https://api.github.com/repos/kigster/bash-it/assignees{/user}","branches_url":"https://api.github.com/repos/kigster/bash-it/branches{/branch}","tags_url":"https://api.github.com/repos/kigster/bash-it/tags","blobs_url":"https://api.github.com/repos/kigster/bash-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kigster/bash-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kigster/bash-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/kigster/bash-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kigster/bash-it/statuses/{sha}","languages_url":"https://api.github.com/repos/kigster/bash-it/languages","stargazers_url":"https://api.github.com/repos/kigster/bash-it/stargazers","contributors_url":"https://api.github.com/repos/kigster/bash-it/contributors","subscribers_url":"https://api.github.com/repos/kigster/bash-it/subscribers","subscription_url":"https://api.github.com/repos/kigster/bash-it/subscription","commits_url":"https://api.github.com/repos/kigster/bash-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/kigster/bash-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/kigster/bash-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/kigster/bash-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/kigster/bash-it/contents/{+path}","compare_url":"https://api.github.com/repos/kigster/bash-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kigster/bash-it/merges","archive_url":"https://api.github.com/repos/kigster/bash-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kigster/bash-it/downloads","issues_url":"https://api.github.com/repos/kigster/bash-it/issues{/number}","pulls_url":"https://api.github.com/repos/kigster/bash-it/pulls{/number}","milestones_url":"https://api.github.com/repos/kigster/bash-it/milestones{/number}","notifications_url":"https://api.github.com/repos/kigster/bash-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kigster/bash-it/labels{/name}","releases_url":"https://api.github.com/repos/kigster/bash-it/releases{/id}","deployments_url":"https://api.github.com/repos/kigster/bash-it/deployments","created_at":"2016-03-13T06:53:03Z","updated_at":"2016-03-13T06:53:05Z","pushed_at":"2016-03-21T07:20:20Z","git_url":"git://github.com/kigster/bash-it.git","ssh_url":"git@github.com:kigster/bash-it.git","clone_url":"https://github.com/kigster/bash-it.git","svn_url":"https://github.com/kigster/bash-it","homepage":"","size":35627,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"Bash-it:master","ref":"master","sha":"5ec816342f5d0590f25be999bd769750ef127b24","user":{"login":"Bash-it","id":11575812,"avatar_url":"https://avatars.githubusercontent.com/u/11575812?v=3","gravatar_id":"","url":"https://api.github.com/users/Bash-it","html_url":"https://github.com/Bash-it","followers_url":"https://api.github.com/users/Bash-it/followers","following_url":"https://api.github.com/users/Bash-it/following{/other_user}","gists_url":"https://api.github.com/users/Bash-it/gists{/gist_id}","starred_url":"https://api.github.com/users/Bash-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bash-it/subscriptions","organizations_url":"https://api.github.com/users/Bash-it/orgs","repos_url":"https://api.github.com/users/Bash-it/repos","events_url":"https://api.github.com/users/Bash-it/events{/privacy}","received_events_url":"https://api.github.com/users/Bash-it/received_events","type":"Organization","site_admin":false},"repo":{"id":957012,"name":"bash-it","full_name":"Bash-it/bash-it","owner":{"login":"Bash-it","id":11575812,"avatar_url":"https://avatars.githubusercontent.com/u/11575812?v=3","gravatar_id":"","url":"https://api.github.com/users/Bash-it","html_url":"https://github.com/Bash-it","followers_url":"https://api.github.com/users/Bash-it/followers","following_url":"https://api.github.com/users/Bash-it/following{/other_user}","gists_url":"https://api.github.com/users/Bash-it/gists{/gist_id}","starred_url":"https://api.github.com/users/Bash-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bash-it/subscriptions","organizations_url":"https://api.github.com/users/Bash-it/orgs","repos_url":"https://api.github.com/users/Bash-it/repos","events_url":"https://api.github.com/users/Bash-it/events{/privacy}","received_events_url":"https://api.github.com/users/Bash-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bash-it/bash-it","description":"A community Bash framework.","fork":false,"url":"https://api.github.com/repos/Bash-it/bash-it","forks_url":"https://api.github.com/repos/Bash-it/bash-it/forks","keys_url":"https://api.github.com/repos/Bash-it/bash-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bash-it/bash-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bash-it/bash-it/teams","hooks_url":"https://api.github.com/repos/Bash-it/bash-it/hooks","issue_events_url":"https://api.github.com/repos/Bash-it/bash-it/issues/events{/number}","events_url":"https://api.github.com/repos/Bash-it/bash-it/events","assignees_url":"https://api.github.com/repos/Bash-it/bash-it/assignees{/user}","branches_url":"https://api.github.com/repos/Bash-it/bash-it/branches{/branch}","tags_url":"https://api.github.com/repos/Bash-it/bash-it/tags","blobs_url":"https://api.github.com/repos/Bash-it/bash-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bash-it/bash-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bash-it/bash-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bash-it/bash-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bash-it/bash-it/statuses/{sha}","languages_url":"https://api.github.com/repos/Bash-it/bash-it/languages","stargazers_url":"https://api.github.com/repos/Bash-it/bash-it/stargazers","contributors_url":"https://api.github.com/repos/Bash-it/bash-it/contributors","subscribers_url":"https://api.github.com/repos/Bash-it/bash-it/subscribers","subscription_url":"https://api.github.com/repos/Bash-it/bash-it/subscription","commits_url":"https://api.github.com/repos/Bash-it/bash-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bash-it/bash-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bash-it/bash-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bash-it/bash-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bash-it/bash-it/contents/{+path}","compare_url":"https://api.github.com/repos/Bash-it/bash-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bash-it/bash-it/merges","archive_url":"https://api.github.com/repos/Bash-it/bash-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bash-it/bash-it/downloads","issues_url":"https://api.github.com/repos/Bash-it/bash-it/issues{/number}","pulls_url":"https://api.github.com/repos/Bash-it/bash-it/pulls{/number}","milestones_url":"https://api.github.com/repos/Bash-it/bash-it/milestones{/number}","notifications_url":"https://api.github.com/repos/Bash-it/bash-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bash-it/bash-it/labels{/name}","releases_url":"https://api.github.com/repos/Bash-it/bash-it/releases{/id}","deployments_url":"https://api.github.com/repos/Bash-it/bash-it/deployments","created_at":"2010-10-02T18:36:17Z","updated_at":"2016-03-21T06:14:27Z","pushed_at":"2016-03-21T07:30:09Z","git_url":"git://github.com/Bash-it/bash-it.git","ssh_url":"git@github.com:Bash-it/bash-it.git","clone_url":"https://github.com/Bash-it/bash-it.git","svn_url":"https://github.com/Bash-it/bash-it","homepage":"","size":37335,"stargazers_count":4270,"watchers_count":4270,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":931,"mirror_url":null,"open_issues_count":85,"forks":931,"open_issues":85,"watchers":4270,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/681"},"html":{"href":"https://github.com/Bash-it/bash-it/pull/681"},"issue":{"href":"https://api.github.com/repos/Bash-it/bash-it/issues/681"},"comments":{"href":"https://api.github.com/repos/Bash-it/bash-it/issues/681/comments"},"review_comments":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/681/comments"},"review_comment":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/681/commits"},"statuses":{"href":"https://api.github.com/repos/Bash-it/bash-it/statuses/7715cc9b6a0abf7f9879903a5e6f52e50286ca03"}}}}