{"action":"created","comment":{"url":"https://api.github.com/repos/cucumber/cucumber-js/pulls/comments/48314352","id":48314352,"diff_hunk":"@@ -513,6 +513,10 @@ Undefined steps snippets are printed in javascript by default.\n Custom snippet syntaxes can be used with `--snippet-syntax <FILE>`.\n See [here](/features/step_definition_snippets_custom_syntax.feature) for an example.\n \n+### Profiles\n+\n+In order to store and reuse commonly used CLI options, you can add a `cucumber.js` file to your project root directory. The file should export an object where the key is the profile name and the value is a string of CLI options. The profile can be applied with `-p <NAME>` or `--profile <NAME>`. This was prepend the profile's CLI options to the execution. The options are prepended so they can be overriden by supplied options. Multiple profiles can be specified at a time. If no profile is specified and a profile named `default` exists, it will be applied.","path":"README.md","position":6,"original_position":6,"commit_id":"9d73bf9acd561ef1b8bafff685e5196aee552ecf","original_commit_id":"9d73bf9acd561ef1b8bafff685e5196aee552ecf","user":{"login":"kevgo","id":268934,"avatar_url":"https://avatars.githubusercontent.com/u/268934?v=3","gravatar_id":"","url":"https://api.github.com/users/kevgo","html_url":"https://github.com/kevgo","followers_url":"https://api.github.com/users/kevgo/followers","following_url":"https://api.github.com/users/kevgo/following{/other_user}","gists_url":"https://api.github.com/users/kevgo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevgo/subscriptions","organizations_url":"https://api.github.com/users/kevgo/orgs","repos_url":"https://api.github.com/users/kevgo/repos","events_url":"https://api.github.com/users/kevgo/events{/privacy}","received_events_url":"https://api.github.com/users/kevgo/received_events","type":"User","site_admin":false},"body":"Weird grammatical structure: \"This was prepend the profile's CLI options to the execution\"","created_at":"2015-12-23T00:44:46Z","updated_at":"2015-12-23T00:44:46Z","html_url":"https://github.com/cucumber/cucumber-js/pull/489#discussion_r48314352","pull_request_url":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489","_links":{"self":{"href":"https://api.github.com/repos/cucumber/cucumber-js/pulls/comments/48314352"},"html":{"href":"https://github.com/cucumber/cucumber-js/pull/489#discussion_r48314352"},"pull_request":{"href":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489"}}},"pull_request":{"url":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489","id":54430723,"html_url":"https://github.com/cucumber/cucumber-js/pull/489","diff_url":"https://github.com/cucumber/cucumber-js/pull/489.diff","patch_url":"https://github.com/cucumber/cucumber-js/pull/489.patch","issue_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/489","number":489,"state":"open","locked":false,"title":"document profiles","user":{"login":"charlierudolph","id":1676758,"avatar_url":"https://avatars.githubusercontent.com/u/1676758?v=3","gravatar_id":"","url":"https://api.github.com/users/charlierudolph","html_url":"https://github.com/charlierudolph","followers_url":"https://api.github.com/users/charlierudolph/followers","following_url":"https://api.github.com/users/charlierudolph/following{/other_user}","gists_url":"https://api.github.com/users/charlierudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/charlierudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlierudolph/subscriptions","organizations_url":"https://api.github.com/users/charlierudolph/orgs","repos_url":"https://api.github.com/users/charlierudolph/repos","events_url":"https://api.github.com/users/charlierudolph/events{/privacy}","received_events_url":"https://api.github.com/users/charlierudolph/received_events","type":"User","site_admin":false},"body":"@jbpros @kevgo\r\n\r\nresolves #485","created_at":"2015-12-23T00:32:24Z","updated_at":"2015-12-23T00:44:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee48850065f29eb822068395e51d07a2893b1827","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489/commits","review_comments_url":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489/comments","review_comment_url":"https://api.github.com/repos/cucumber/cucumber-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/489/comments","statuses_url":"https://api.github.com/repos/cucumber/cucumber-js/statuses/9d73bf9acd561ef1b8bafff685e5196aee552ecf","head":{"label":"cucumber:cr-documentProfile","ref":"cr-documentProfile","sha":"9d73bf9acd561ef1b8bafff685e5196aee552ecf","user":{"login":"cucumber","id":320565,"avatar_url":"https://avatars.githubusercontent.com/u/320565?v=3","gravatar_id":"","url":"https://api.github.com/users/cucumber","html_url":"https://github.com/cucumber","followers_url":"https://api.github.com/users/cucumber/followers","following_url":"https://api.github.com/users/cucumber/following{/other_user}","gists_url":"https://api.github.com/users/cucumber/gists{/gist_id}","starred_url":"https://api.github.com/users/cucumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cucumber/subscriptions","organizations_url":"https://api.github.com/users/cucumber/orgs","repos_url":"https://api.github.com/users/cucumber/repos","events_url":"https://api.github.com/users/cucumber/events{/privacy}","received_events_url":"https://api.github.com/users/cucumber/received_events","type":"Organization","site_admin":false},"repo":{"id":1811965,"name":"cucumber-js","full_name":"cucumber/cucumber-js","owner":{"login":"cucumber","id":320565,"avatar_url":"https://avatars.githubusercontent.com/u/320565?v=3","gravatar_id":"","url":"https://api.github.com/users/cucumber","html_url":"https://github.com/cucumber","followers_url":"https://api.github.com/users/cucumber/followers","following_url":"https://api.github.com/users/cucumber/following{/other_user}","gists_url":"https://api.github.com/users/cucumber/gists{/gist_id}","starred_url":"https://api.github.com/users/cucumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cucumber/subscriptions","organizations_url":"https://api.github.com/users/cucumber/orgs","repos_url":"https://api.github.com/users/cucumber/repos","events_url":"https://api.github.com/users/cucumber/events{/privacy}","received_events_url":"https://api.github.com/users/cucumber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cucumber/cucumber-js","description":"Cucumber for JavaScript","fork":false,"url":"https://api.github.com/repos/cucumber/cucumber-js","forks_url":"https://api.github.com/repos/cucumber/cucumber-js/forks","keys_url":"https://api.github.com/repos/cucumber/cucumber-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cucumber/cucumber-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cucumber/cucumber-js/teams","hooks_url":"https://api.github.com/repos/cucumber/cucumber-js/hooks","issue_events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/events{/number}","events_url":"https://api.github.com/repos/cucumber/cucumber-js/events","assignees_url":"https://api.github.com/repos/cucumber/cucumber-js/assignees{/user}","branches_url":"https://api.github.com/repos/cucumber/cucumber-js/branches{/branch}","tags_url":"https://api.github.com/repos/cucumber/cucumber-js/tags","blobs_url":"https://api.github.com/repos/cucumber/cucumber-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cucumber/cucumber-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cucumber/cucumber-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/cucumber/cucumber-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cucumber/cucumber-js/statuses/{sha}","languages_url":"https://api.github.com/repos/cucumber/cucumber-js/languages","stargazers_url":"https://api.github.com/repos/cucumber/cucumber-js/stargazers","contributors_url":"https://api.github.com/repos/cucumber/cucumber-js/contributors","subscribers_url":"https://api.github.com/repos/cucumber/cucumber-js/subscribers","subscription_url":"https://api.github.com/repos/cucumber/cucumber-js/subscription","commits_url":"https://api.github.com/repos/cucumber/cucumber-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/cucumber/cucumber-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/cucumber/cucumber-js/contents/{+path}","compare_url":"https://api.github.com/repos/cucumber/cucumber-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cucumber/cucumber-js/merges","archive_url":"https://api.github.com/repos/cucumber/cucumber-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cucumber/cucumber-js/downloads","issues_url":"https://api.github.com/repos/cucumber/cucumber-js/issues{/number}","pulls_url":"https://api.github.com/repos/cucumber/cucumber-js/pulls{/number}","milestones_url":"https://api.github.com/repos/cucumber/cucumber-js/milestones{/number}","notifications_url":"https://api.github.com/repos/cucumber/cucumber-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/labels{/name}","releases_url":"https://api.github.com/repos/cucumber/cucumber-js/releases{/id}","created_at":"2011-05-27T21:27:17Z","updated_at":"2015-12-22T18:44:43Z","pushed_at":"2015-12-23T00:32:25Z","git_url":"git://github.com/cucumber/cucumber-js.git","ssh_url":"git@github.com:cucumber/cucumber-js.git","clone_url":"https://github.com/cucumber/cucumber-js.git","svn_url":"https://github.com/cucumber/cucumber-js","homepage":"https://cucumber.io/docs/reference/javascript","size":12202,"stargazers_count":1805,"watchers_count":1805,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":303,"mirror_url":null,"open_issues_count":31,"forks":303,"open_issues":31,"watchers":1805,"default_branch":"master"}},"base":{"label":"cucumber:master","ref":"master","sha":"4d4d7a25e9c9ada28b22ac672f7d20d3f4d719dd","user":{"login":"cucumber","id":320565,"avatar_url":"https://avatars.githubusercontent.com/u/320565?v=3","gravatar_id":"","url":"https://api.github.com/users/cucumber","html_url":"https://github.com/cucumber","followers_url":"https://api.github.com/users/cucumber/followers","following_url":"https://api.github.com/users/cucumber/following{/other_user}","gists_url":"https://api.github.com/users/cucumber/gists{/gist_id}","starred_url":"https://api.github.com/users/cucumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cucumber/subscriptions","organizations_url":"https://api.github.com/users/cucumber/orgs","repos_url":"https://api.github.com/users/cucumber/repos","events_url":"https://api.github.com/users/cucumber/events{/privacy}","received_events_url":"https://api.github.com/users/cucumber/received_events","type":"Organization","site_admin":false},"repo":{"id":1811965,"name":"cucumber-js","full_name":"cucumber/cucumber-js","owner":{"login":"cucumber","id":320565,"avatar_url":"https://avatars.githubusercontent.com/u/320565?v=3","gravatar_id":"","url":"https://api.github.com/users/cucumber","html_url":"https://github.com/cucumber","followers_url":"https://api.github.com/users/cucumber/followers","following_url":"https://api.github.com/users/cucumber/following{/other_user}","gists_url":"https://api.github.com/users/cucumber/gists{/gist_id}","starred_url":"https://api.github.com/users/cucumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cucumber/subscriptions","organizations_url":"https://api.github.com/users/cucumber/orgs","repos_url":"https://api.github.com/users/cucumber/repos","events_url":"https://api.github.com/users/cucumber/events{/privacy}","received_events_url":"https://api.github.com/users/cucumber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cucumber/cucumber-js","description":"Cucumber for JavaScript","fork":false,"url":"https://api.github.com/repos/cucumber/cucumber-js","forks_url":"https://api.github.com/repos/cucumber/cucumber-js/forks","keys_url":"https://api.github.com/repos/cucumber/cucumber-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cucumber/cucumber-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cucumber/cucumber-js/teams","hooks_url":"https://api.github.com/repos/cucumber/cucumber-js/hooks","issue_events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/events{/number}","events_url":"https://api.github.com/repos/cucumber/cucumber-js/events","assignees_url":"https://api.github.com/repos/cucumber/cucumber-js/assignees{/user}","branches_url":"https://api.github.com/repos/cucumber/cucumber-js/branches{/branch}","tags_url":"https://api.github.com/repos/cucumber/cucumber-js/tags","blobs_url":"https://api.github.com/repos/cucumber/cucumber-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cucumber/cucumber-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cucumber/cucumber-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/cucumber/cucumber-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cucumber/cucumber-js/statuses/{sha}","languages_url":"https://api.github.com/repos/cucumber/cucumber-js/languages","stargazers_url":"https://api.github.com/repos/cucumber/cucumber-js/stargazers","contributors_url":"https://api.github.com/repos/cucumber/cucumber-js/contributors","subscribers_url":"https://api.github.com/repos/cucumber/cucumber-js/subscribers","subscription_url":"https://api.github.com/repos/cucumber/cucumber-js/subscription","commits_url":"https://api.github.com/repos/cucumber/cucumber-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/cucumber/cucumber-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/cucumber/cucumber-js/contents/{+path}","compare_url":"https://api.github.com/repos/cucumber/cucumber-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cucumber/cucumber-js/merges","archive_url":"https://api.github.com/repos/cucumber/cucumber-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cucumber/cucumber-js/downloads","issues_url":"https://api.github.com/repos/cucumber/cucumber-js/issues{/number}","pulls_url":"https://api.github.com/repos/cucumber/cucumber-js/pulls{/number}","milestones_url":"https://api.github.com/repos/cucumber/cucumber-js/milestones{/number}","notifications_url":"https://api.github.com/repos/cucumber/cucumber-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/labels{/name}","releases_url":"https://api.github.com/repos/cucumber/cucumber-js/releases{/id}","created_at":"2011-05-27T21:27:17Z","updated_at":"2015-12-22T18:44:43Z","pushed_at":"2015-12-23T00:32:25Z","git_url":"git://github.com/cucumber/cucumber-js.git","ssh_url":"git@github.com:cucumber/cucumber-js.git","clone_url":"https://github.com/cucumber/cucumber-js.git","svn_url":"https://github.com/cucumber/cucumber-js","homepage":"https://cucumber.io/docs/reference/javascript","size":12202,"stargazers_count":1805,"watchers_count":1805,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":303,"mirror_url":null,"open_issues_count":31,"forks":303,"open_issues":31,"watchers":1805,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489"},"html":{"href":"https://github.com/cucumber/cucumber-js/pull/489"},"issue":{"href":"https://api.github.com/repos/cucumber/cucumber-js/issues/489"},"comments":{"href":"https://api.github.com/repos/cucumber/cucumber-js/issues/489/comments"},"review_comments":{"href":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489/comments"},"review_comment":{"href":"https://api.github.com/repos/cucumber/cucumber-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cucumber/cucumber-js/pulls/489/commits"},"statuses":{"href":"https://api.github.com/repos/cucumber/cucumber-js/statuses/9d73bf9acd561ef1b8bafff685e5196aee552ecf"}}}}