{"action":"created","issue":{"url":"https://api.github.com/repos/reframejs/reframe/issues/25","repository_url":"https://api.github.com/repos/reframejs/reframe","labels_url":"https://api.github.com/repos/reframejs/reframe/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/reframejs/reframe/issues/25/comments","events_url":"https://api.github.com/repos/reframejs/reframe/issues/25/events","html_url":"https://github.com/reframejs/reframe/issues/25","id":311949188,"number":25,"title":"`reframe init` MVP","user":{"login":"brillout","id":1005638,"avatar_url":"https://avatars2.githubusercontent.com/u/1005638?v=4","gravatar_id":"","url":"https://api.github.com/users/brillout","html_url":"https://github.com/brillout","followers_url":"https://api.github.com/users/brillout/followers","following_url":"https://api.github.com/users/brillout/following{/other_user}","gists_url":"https://api.github.com/users/brillout/gists{/gist_id}","starred_url":"https://api.github.com/users/brillout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brillout/subscriptions","organizations_url":"https://api.github.com/users/brillout/orgs","repos_url":"https://api.github.com/users/brillout/repos","events_url":"https://api.github.com/users/brillout/events{/privacy}","received_events_url":"https://api.github.com/users/brillout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"brillout","id":1005638,"avatar_url":"https://avatars2.githubusercontent.com/u/1005638?v=4","gravatar_id":"","url":"https://api.github.com/users/brillout","html_url":"https://github.com/brillout","followers_url":"https://api.github.com/users/brillout/followers","following_url":"https://api.github.com/users/brillout/following{/other_user}","gists_url":"https://api.github.com/users/brillout/gists{/gist_id}","starred_url":"https://api.github.com/users/brillout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brillout/subscriptions","organizations_url":"https://api.github.com/users/brillout/orgs","repos_url":"https://api.github.com/users/brillout/repos","events_url":"https://api.github.com/users/brillout/events{/privacy}","received_events_url":"https://api.github.com/users/brillout/received_events","type":"User","site_admin":false},"assignees":[{"login":"brillout","id":1005638,"avatar_url":"https://avatars2.githubusercontent.com/u/1005638?v=4","gravatar_id":"","url":"https://api.github.com/users/brillout","html_url":"https://github.com/brillout","followers_url":"https://api.github.com/users/brillout/followers","following_url":"https://api.github.com/users/brillout/following{/other_user}","gists_url":"https://api.github.com/users/brillout/gists{/gist_id}","starred_url":"https://api.github.com/users/brillout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brillout/subscriptions","organizations_url":"https://api.github.com/users/brillout/orgs","repos_url":"https://api.github.com/users/brillout/repos","events_url":"https://api.github.com/users/brillout/events{/privacy}","received_events_url":"https://api.github.com/users/brillout/received_events","type":"User","site_admin":false},{"login":"tdfranklin","id":21372686,"avatar_url":"https://avatars3.githubusercontent.com/u/21372686?v=4","gravatar_id":"","url":"https://api.github.com/users/tdfranklin","html_url":"https://github.com/tdfranklin","followers_url":"https://api.github.com/users/tdfranklin/followers","following_url":"https://api.github.com/users/tdfranklin/following{/other_user}","gists_url":"https://api.github.com/users/tdfranklin/gists{/gist_id}","starred_url":"https://api.github.com/users/tdfranklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdfranklin/subscriptions","organizations_url":"https://api.github.com/users/tdfranklin/orgs","repos_url":"https://api.github.com/users/tdfranklin/repos","events_url":"https://api.github.com/users/tdfranklin/events{/privacy}","received_events_url":"https://api.github.com/users/tdfranklin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-06T12:00:01Z","updated_at":"2018-04-10T20:01:09Z","closed_at":null,"author_association":"OWNER","body":"Alright I think we nailed down the overall cli architecture, thanks @tdfranklin for the numerous CLI discussions 👍 \r\n\r\nLet's publish a stable version (the latest npm versions I published are all tagged beta) soon that includes `reframe init`.\r\n\r\nHow do we want our first stable `reframe init` to look like?\r\n\r\nCouple of thoughts:\r\n - Flesh out the templates to include some other use cases\r\n   - E.g. a page that fetches data\r\n   - E.g. a DOM-static & HTML-static page and a DOM-dynamic & HTML-dynamic page\r\n - One cool thing would be to have bunch of defaults that are preselected: Instead of the user to have to answer 10 questions, we pre-select default answers for all these 10 questions and the user can pick answers to modify. So that, in the case the user agrees with the defaults, creating a new Reframe project is a matter of answering only two questions: \"Project name?\" and \"Are these defaults ok?\". But not sure it's possible with Inquirer.js?\r\n\r\nBtw I've stumbled upon an Inquirer.js alternative: https://github.com/enquirer/enquirer\r\nLooks promising\r\n\r\n@tdfranklin Thanks for all the awesome work"},"comment":{"url":"https://api.github.com/repos/reframejs/reframe/issues/comments/380228267","html_url":"https://github.com/reframejs/reframe/issues/25#issuecomment-380228267","issue_url":"https://api.github.com/repos/reframejs/reframe/issues/25","id":380228267,"user":{"login":"tdfranklin","id":21372686,"avatar_url":"https://avatars3.githubusercontent.com/u/21372686?v=4","gravatar_id":"","url":"https://api.github.com/users/tdfranklin","html_url":"https://github.com/tdfranklin","followers_url":"https://api.github.com/users/tdfranklin/followers","following_url":"https://api.github.com/users/tdfranklin/following{/other_user}","gists_url":"https://api.github.com/users/tdfranklin/gists{/gist_id}","starred_url":"https://api.github.com/users/tdfranklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdfranklin/subscriptions","organizations_url":"https://api.github.com/users/tdfranklin/orgs","repos_url":"https://api.github.com/users/tdfranklin/repos","events_url":"https://api.github.com/users/tdfranklin/events{/privacy}","received_events_url":"https://api.github.com/users/tdfranklin/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T20:01:09Z","updated_at":"2018-04-10T20:01:09Z","author_association":"MEMBER","body":"Sorry I haven't responded yet; I've been insanely busy lately.  We're trying to get our house ready to put on the market for sale so just been consumed with painting, cleaning, etc so haven't had a lot of time for code.\r\n\r\nIn any case, I'm so glad we're getting close to a release.  Here's a few thoughts I have to get ready for that.\r\n\r\n1. Remove the hello/goodbye test plugins (or at least comment them out as an example for future structure when we go to add actual cliCommands).\r\n2. Come up with an actual file structure we want to be created with the scaffold feature (I know we tossed around that idea in another issue but haven't actually implemented it yet).\r\n3. Are there any actual commands/plugins you want to be created with the cliCommands feature yet?  If so, it might be worthwhile to plug that into the inquirer questions as right now inquirer isn't really doing anything other than getting the project name.\r\n4. Redux support - are we wanting to try and get that support going with this version or is that something we are going to work on in the future?  If in the future, we'll probably want to remove that question so as not to confuse users.\r\n\r\n> Flesh out the templates to include some other use cases\r\nE.g. a page that fetches data\r\nE.g. a DOM-static & HTML-static page and a DOM-dynamic & HTML-dynamic page\r\n\r\nIn my opinion, I think something like this (just having examples) would be better served just in the docs (similar to what you already have, actually).  That said, I think we absolutely need to create some generator commands.  Something like `reframe new page pageName` and `reframe new component componentName` and each have various options/flags you would include for smart vs. dumb component or static vs. dynamic pages, etc.  I think limiting the amount of boilerplate code people actually have to type will be a huge benefit for Reframe's users!\r\n\r\n> One cool thing would be to have bunch of defaults that are preselected: Instead of the user to have to answer 10 questions, we pre-select default answers for all these 10 questions and the user can pick answers to modify. So that, in the case the user agrees with the defaults, creating a new Reframe project is a matter of answering only two questions: \"Project name?\" and \"Are these defaults ok?\". But not sure it's possible with Inquirer.js?\r\n\r\nYes, I think that absolutely can be possible with Inquirer.  I've actually been doing some similar work in Newton's Apple, so I'm almost positive I can do that with Reframe.  So I think what we need to come up with is the list of questions we want to ask and what the default answer for each should be and then we can go from there!\r\n\r\n> Btw I've stumbled upon an Inquirer.js alternative: https://github.com/enquirer/enquirer\r\nLooks promising\r\n\r\nI looked over their docs and it seems like a good library for sure.  At a glance, I don't see anything that makes it particularly better than Inquirer, though.  If you'd prefer to swap to it, I'll be happy to learn it more in depth, though."}}
{"actor":{"display_login":"tdfranklin"}}