{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/564","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/564/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/564/events","html_url":"https://github.com/dart-lang/pub/issues/564","id":85643777,"number":564,"title":"pub search","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/NotPlanned","name":"NotPlanned","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T22:08:45Z","updated_at":"2015-06-05T22:08:46Z","closed_at":null,"body":"_Originally opened as dart-lang/sdk#10974_\n\n*This issue was originally filed by beatga...&#064;gmail.com*\n_____\nMostly a feature request.\n\nI'm a heavy CLI user (I use dart-sdk, not dart-editor), and there's currently no good way of searching for pub packages. I wrote a scraper and a simple search tool a while ago, but this really should be in pub.\n\nMy ideal search tool would have these features:\n\n\\* two modes: query and search\n&nbsp;&nbsp;\\* query: installed packages\n&nbsp;&nbsp;\\* search: all packages\n\\* searches always operate on a local database\n&nbsp;&nbsp;\\* update manually (pub search --update || pub search -u)\n&nbsp;&nbsp;\\* search database is global\n&nbsp;&nbsp;\\* mark packages as installed: distinction between local (current project) and global\n\\* keywork search on name and description by default\n\\* wildcard support (dart\\* matches dart and dartium)\n\\* package info (print pubspec.yml)\n&nbsp;&nbsp;\\* install reason (if pub query)\n&nbsp;&nbsp;\\* similar to pacman -Si or pacman -Qi\n\nMy main reason for wanting manual updating is because npm really annoys me because sometimes searches take longer than usual because it tries to be intelligent about when it updates it's database. This idea is similar to apt-get update and pacman -Sy, so it's not completely out of the question. If desired, other tools can be used to keep the database up-to-date (e.g. cron, dart-editor, etc).\n\nOf course, initially, I just want &quot;pub search &lt;pkg&gt;&quot; to work."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109455708","html_url":"https://github.com/dart-lang/pub/issues/564#issuecomment-109455708","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/564","id":109455708,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:08:46Z","updated_at":"2015-06-05T22:08:46Z","body":"<a href=\"https://github.com/nex3\"><img src=\"https://avatars.githubusercontent.com/u/188?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [nex3](https://github.com/nex3)**\n\n----\n\nAs I mentioned in issue dart-lang/pub#504, I don't think we want to duplicate a lot of the discoverability functionality of pub.dartlang.org on the client.\n______\n*Added [NotPlanned](../labels/NotPlanned) label.*\n"}}