{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/polymer-analyzer/issues/386","repository_url":"https://api.github.com/repos/Polymer/polymer-analyzer","labels_url":"https://api.github.com/repos/Polymer/polymer-analyzer/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer-analyzer/issues/386/comments","events_url":"https://api.github.com/repos/Polymer/polymer-analyzer/issues/386/events","html_url":"https://github.com/Polymer/polymer-analyzer/issues/386","id":188169865,"number":386,"title":"What about cli?","user":{"login":"MartinsThiago","id":8419829,"avatar_url":"https://avatars.githubusercontent.com/u/8419829?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinsThiago","html_url":"https://github.com/MartinsThiago","followers_url":"https://api.github.com/users/MartinsThiago/followers","following_url":"https://api.github.com/users/MartinsThiago/following{/other_user}","gists_url":"https://api.github.com/users/MartinsThiago/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinsThiago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinsThiago/subscriptions","organizations_url":"https://api.github.com/users/MartinsThiago/orgs","repos_url":"https://api.github.com/users/MartinsThiago/repos","events_url":"https://api.github.com/users/MartinsThiago/events{/privacy}","received_events_url":"https://api.github.com/users/MartinsThiago/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-09T05:30:41Z","updated_at":"2016-11-09T05:30:41Z","closed_at":null,"body":"I think it would be pretty useful displaying information about an element from command line\r\n\r\nFor example... I want to discover all dependencies of an element\r\n\r\n```shell\r\n$ polymer-analize --show-deps my-element.html\r\n```\r\n\r\noutput:\r\n```shell\r\n../bower_components/iron-location/iron-location.html\r\n../bower_components/app-route/app-route-converter-behavior.html\r\n../bower_components/iron-selector/iron-selectable.html\r\n../bower_components/iron-resizable-behavior/iron-resizable-behavior.html\r\n../bower_components/iron-location/iron-query-params.html\r\n../bower_components/polymer/src/elements/element.html\r\n../bower_components/polymer/polymer-legacy.html\r\n../bower_components/polymer/src/templatizer/dom-repeat.html\r\n../bower_components/polymer/src/templatizer/dom-bind.html\r\n../bower_components/polymer/src/styling/custom-style.html\r\n../bower_components/polymer/src/templatizer/dom-if.html\r\n../bower_components/iron-selector/iron-selection.html\r\n../bower_components/polymer/src/utils/boot.html\r\n../bower_components/polymer/src/utils/case-map.html\r\n../bower_components/polymer/src/legacy/dom-module.html\r\n../bower_components/polymer/src/events/event-listeners.html\r\n../bower_components/polymer/src/template/template-stamp.html\r\n../bower_components/polymer/src/properties/batched-effects.html\r\n../bower_components/polymer/src/styling/style-gather.html\r\n```\r\n\r\nThis would give us more flexibility when creating bash scripts for automation, as creating metrics about the number of dependencies in a project, retrieving size in kb, setting up what will be pushed with http 2 and so on"}}
{"actor":{"display_login":"MartinsThiago"}}