{"action":"created","issue":{"url":"https://api.github.com/repos/snaerth/create-react-component-folder/issues/13","repository_url":"https://api.github.com/repos/snaerth/create-react-component-folder","labels_url":"https://api.github.com/repos/snaerth/create-react-component-folder/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/snaerth/create-react-component-folder/issues/13/comments","events_url":"https://api.github.com/repos/snaerth/create-react-component-folder/issues/13/events","html_url":"https://github.com/snaerth/create-react-component-folder/pull/13","id":345080562,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MzIyMjg2","number":13,"title":"add support for default flag","user":{"login":"sicknarlo","id":7132058,"node_id":"MDQ6VXNlcjcxMzIwNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7132058?v=4","gravatar_id":"","url":"https://api.github.com/users/sicknarlo","html_url":"https://github.com/sicknarlo","followers_url":"https://api.github.com/users/sicknarlo/followers","following_url":"https://api.github.com/users/sicknarlo/following{/other_user}","gists_url":"https://api.github.com/users/sicknarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/sicknarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sicknarlo/subscriptions","organizations_url":"https://api.github.com/users/sicknarlo/orgs","repos_url":"https://api.github.com/users/sicknarlo/repos","events_url":"https://api.github.com/users/sicknarlo/events{/privacy}","received_events_url":"https://api.github.com/users/sicknarlo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-27T03:45:03Z","updated_at":"2018-08-09T08:44:43Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/snaerth/create-react-component-folder/pulls/13","html_url":"https://github.com/snaerth/create-react-component-folder/pull/13","diff_url":"https://github.com/snaerth/create-react-component-folder/pull/13.diff","patch_url":"https://github.com/snaerth/create-react-component-folder/pull/13.patch"},"body":"This is a first go at adding support for some sort of default configuration.\r\n\r\nThis will allow users to create a configuration array either in the package.json or as an rc file, which looks like this:\r\n\r\n```\r\ncrcf: [\r\n  \"typescript\"\r\n]\r\n```\r\n\r\nThen any new commands with the `-default` flag will automatically include any options in the array, along with any added options provided.\r\n\r\nFor example, with the above configuration the command `npx crcf src/component/FooComponent --default` will create tsx files. You can combine this with other flags too, i.e. `npx crcf src/component/FooComponent -dufs`"},"comment":{"url":"https://api.github.com/repos/snaerth/create-react-component-folder/issues/comments/411684003","html_url":"https://github.com/snaerth/create-react-component-folder/pull/13#issuecomment-411684003","issue_url":"https://api.github.com/repos/snaerth/create-react-component-folder/issues/13","id":411684003,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTY4NDAwMw==","user":{"login":"snaerth","id":8678089,"node_id":"MDQ6VXNlcjg2NzgwODk=","avatar_url":"https://avatars1.githubusercontent.com/u/8678089?v=4","gravatar_id":"","url":"https://api.github.com/users/snaerth","html_url":"https://github.com/snaerth","followers_url":"https://api.github.com/users/snaerth/followers","following_url":"https://api.github.com/users/snaerth/following{/other_user}","gists_url":"https://api.github.com/users/snaerth/gists{/gist_id}","starred_url":"https://api.github.com/users/snaerth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snaerth/subscriptions","organizations_url":"https://api.github.com/users/snaerth/orgs","repos_url":"https://api.github.com/users/snaerth/repos","events_url":"https://api.github.com/users/snaerth/events{/privacy}","received_events_url":"https://api.github.com/users/snaerth/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T08:44:43Z","updated_at":"2018-08-09T08:44:43Z","author_association":"OWNER","body":"@sicknarlo Sorry for the delay. I will look over this in the coming week. This is a great feature :) thank you"}}
{"actor":{"display_login":"snaerth"}}