{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-cli/issues/71","repository_url":"https://api.github.com/repos/zurb/foundation-cli","labels_url":"https://api.github.com/repos/zurb/foundation-cli/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-cli/issues/71/comments","events_url":"https://api.github.com/repos/zurb/foundation-cli/issues/71/events","html_url":"https://github.com/zurb/foundation-cli/pull/71","id":233398324,"number":71,"title":"User can now install blocks and kits by referring to respective index","user":{"login":"paxperscientiam","id":7539871,"avatar_url":"https://avatars1.githubusercontent.com/u/7539871?v=4","gravatar_id":"","url":"https://api.github.com/users/paxperscientiam","html_url":"https://github.com/paxperscientiam","followers_url":"https://api.github.com/users/paxperscientiam/followers","following_url":"https://api.github.com/users/paxperscientiam/following{/other_user}","gists_url":"https://api.github.com/users/paxperscientiam/gists{/gist_id}","starred_url":"https://api.github.com/users/paxperscientiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paxperscientiam/subscriptions","organizations_url":"https://api.github.com/users/paxperscientiam/orgs","repos_url":"https://api.github.com/users/paxperscientiam/repos","events_url":"https://api.github.com/users/paxperscientiam/events{/privacy}","received_events_url":"https://api.github.com/users/paxperscientiam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-03T22:11:48Z","updated_at":"2017-08-13T21:10:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zurb/foundation-cli/pulls/71","html_url":"https://github.com/zurb/foundation-cli/pull/71","diff_url":"https://github.com/zurb/foundation-cli/pull/71.diff","patch_url":"https://github.com/zurb/foundation-cli/pull/71.patch"},"body":"This PR allows end-user to install a block/kit by simply referring to its respective index number. \r\n\r\nIndex numbers are derived from alphabetic listing of keys in JSON manifests for blocks/kits.\r\n\r\nExample implementation:\r\nGiven such a listing as this:\r\n````bash\r\n|18:09:58|ramos@Prometheus:[test]> node ../bin/foundation.js kits list\r\n 1) blog: 13 blocks\r\n 2) dashboard: 16 blocks\r\n 3) ecommerce: 19 blocks\r\n 4) marketing: 15 blocks\r\n 5) mobile-app: 15 blocks\r\n 6) news: 22 blocks\r\n 7) portfolio: 11 blocks\r\n 8) real-estate-travel: 13 blocks\r\n````\r\n\r\nOne could install the \"marketing\" kit in the following way:\r\n````bash\r\n|18:10:13|ramos@Prometheus:[test]> node ../bin/foundation.js kits install 4\r\nYou don't appear to be in a ZURB stack project, so we can't automatically install building blocks\r\n? Do you want to download as a zip file? Yes\r\ndownloaded marketing.zip\r\n````\r\nI will updated README in a moment.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zurb/foundation-cli/issues/comments/322067745","html_url":"https://github.com/zurb/foundation-cli/pull/71#issuecomment-322067745","issue_url":"https://api.github.com/repos/zurb/foundation-cli/issues/71","id":322067745,"user":{"login":"kball","id":44007,"avatar_url":"https://avatars0.githubusercontent.com/u/44007?v=4","gravatar_id":"","url":"https://api.github.com/users/kball","html_url":"https://github.com/kball","followers_url":"https://api.github.com/users/kball/followers","following_url":"https://api.github.com/users/kball/following{/other_user}","gists_url":"https://api.github.com/users/kball/gists{/gist_id}","starred_url":"https://api.github.com/users/kball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kball/subscriptions","organizations_url":"https://api.github.com/users/kball/orgs","repos_url":"https://api.github.com/users/kball/repos","events_url":"https://api.github.com/users/kball/events{/privacy}","received_events_url":"https://api.github.com/users/kball/received_events","type":"User","site_admin":false},"created_at":"2017-08-13T21:10:17Z","updated_at":"2017-08-13T21:10:17Z","body":"Lets clean up the indentation on this and then happy to merge it."}}
{"actor":{"display_login":"kball"}}