{"action":"created","comment":{"url":"https://api.github.com/repos/semantic-release/cli/pulls/comments/39740146","id":39740146,"diff_hunk":"@@ -16,46 +16,57 @@ semantic-release-cli setup\n \n ![dialogue](https://cloud.githubusercontent.com/assets/908178/8766357/f3eadaca-2e34-11e5-8ebb-d40b9ae613d7.png)\n \n-## Manual Setup\n-\n-This is what you would have to if `semantic-release-cli` wouldn't exist:\n-\n-### `package.json`\n-\n-Delete the `version` field from your `package.json`. _Really_. It's safe to do, because machines will take care of it from now on.\n-\n-Install `semantic-release` and save it as a `devDependency`.\n-\n-```bash\n-# stable channel\n-npm install --save-dev semantic-release\n-\n-# master channel\n-npm install --save-dev semantic-release@master\n-```\n-\n-Create a `semantic-release` script in the [`scripts` field](https://docs.npmjs.com/files/package.json#scripts) of your `package.json`.\n-\n-```json\n-{\n-  \"scripts\": {\n-    \"semantic-release\": \"semantic-release pre && npm publish && semantic-release post\"\n-  }\n-}\n-```\n-\n-Add a [`repository` field](https://docs.npmjs.com/files/package.json#repository) to the `package.json`.\n-You should do this anyway, but – as `semantic-release` depends on it – now you have to.\n-\n-### CI Server\n-\n-The idea is that your CI Server runs `npm run semantic-release` whenever a test run on your main branch succeeds. By default these conditions are verified assuming a [Travis CI](https://travis-ci.org/) environment. This isn't tied to a specific service though. Using the [`verifyConditions` plugin](#verifyconditions) you can easily configure your own CI Server.\n-\n-The CI environment has to export `CI=true` in order for `semantic-release` to not automatically perform a dry run. Most CI services do this by default.\n-\n-You need to export access tokens to the environment, so `semantic-release` can authenticate itself with GitHub and npm.  [Get a token for GitHub on their website](https://github.com/settings/tokens/new), grant it the repo/public_repo scope, and export it as `GH_TOKEN`. The smoothest and securest way to do this on Travis CI is to use [their web interface](http://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings).\n-\n-Unfortunately there is no web interface for obtaining npm tokens yet, so you have to run `npm adduser` locally. Copy the token from your `~/.npmrc` file afterwards. Export it as `NPM_TOKEN`.\n+## Options\n+\n+\tUsage:\n+\t  semantic-release-cli setup [--tag=<String>]","path":"README.md","position":56,"original_position":56,"commit_id":"af3ce3917c22b3665c849edd12a0158df0dca4f3","original_commit_id":"af3ce3917c22b3665c849edd12a0158df0dca4f3","user":{"login":"boennemann","id":908178,"avatar_url":"https://avatars.githubusercontent.com/u/908178?v=3","gravatar_id":"","url":"https://api.github.com/users/boennemann","html_url":"https://github.com/boennemann","followers_url":"https://api.github.com/users/boennemann/followers","following_url":"https://api.github.com/users/boennemann/following{/other_user}","gists_url":"https://api.github.com/users/boennemann/gists{/gist_id}","starred_url":"https://api.github.com/users/boennemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boennemann/subscriptions","organizations_url":"https://api.github.com/users/boennemann/orgs","repos_url":"https://api.github.com/users/boennemann/repos","events_url":"https://api.github.com/users/boennemann/events{/privacy}","received_events_url":"https://api.github.com/users/boennemann/received_events","type":"User","site_admin":false},"body":"`--tag=<String>` should be `options...` here :)","created_at":"2015-09-17T12:42:14Z","updated_at":"2015-09-17T12:42:14Z","html_url":"https://github.com/semantic-release/cli/pull/26#discussion_r39740146","pull_request_url":"https://api.github.com/repos/semantic-release/cli/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/semantic-release/cli/pulls/comments/39740146"},"html":{"href":"https://github.com/semantic-release/cli/pull/26#discussion_r39740146"},"pull_request":{"href":"https://api.github.com/repos/semantic-release/cli/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/semantic-release/cli/pulls/26","id":45068986,"html_url":"https://github.com/semantic-release/cli/pull/26","diff_url":"https://github.com/semantic-release/cli/pull/26.diff","patch_url":"https://github.com/semantic-release/cli/pull/26.patch","issue_url":"https://api.github.com/repos/semantic-release/cli/issues/26","number":26,"state":"open","locked":false,"title":"Revamping README.md","user":{"login":"apowers313","id":5661534,"avatar_url":"https://avatars.githubusercontent.com/u/5661534?v=3","gravatar_id":"","url":"https://api.github.com/users/apowers313","html_url":"https://github.com/apowers313","followers_url":"https://api.github.com/users/apowers313/followers","following_url":"https://api.github.com/users/apowers313/following{/other_user}","gists_url":"https://api.github.com/users/apowers313/gists{/gist_id}","starred_url":"https://api.github.com/users/apowers313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apowers313/subscriptions","organizations_url":"https://api.github.com/users/apowers313/orgs","repos_url":"https://api.github.com/users/apowers313/repos","events_url":"https://api.github.com/users/apowers313/events{/privacy}","received_events_url":"https://api.github.com/users/apowers313/received_events","type":"User","site_admin":false},"body":"Clarifying the README.md, per the thread in #25. ","created_at":"2015-09-15T16:07:39Z","updated_at":"2015-09-17T12:42:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fd17a138361a65e49e40effaf41b65771a23e8e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/semantic-release/cli/pulls/26/commits","review_comments_url":"https://api.github.com/repos/semantic-release/cli/pulls/26/comments","review_comment_url":"https://api.github.com/repos/semantic-release/cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/semantic-release/cli/issues/26/comments","statuses_url":"https://api.github.com/repos/semantic-release/cli/statuses/af3ce3917c22b3665c849edd12a0158df0dca4f3","head":{"label":"apowers313:master","ref":"master","sha":"af3ce3917c22b3665c849edd12a0158df0dca4f3","user":{"login":"apowers313","id":5661534,"avatar_url":"https://avatars.githubusercontent.com/u/5661534?v=3","gravatar_id":"","url":"https://api.github.com/users/apowers313","html_url":"https://github.com/apowers313","followers_url":"https://api.github.com/users/apowers313/followers","following_url":"https://api.github.com/users/apowers313/following{/other_user}","gists_url":"https://api.github.com/users/apowers313/gists{/gist_id}","starred_url":"https://api.github.com/users/apowers313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apowers313/subscriptions","organizations_url":"https://api.github.com/users/apowers313/orgs","repos_url":"https://api.github.com/users/apowers313/repos","events_url":"https://api.github.com/users/apowers313/events{/privacy}","received_events_url":"https://api.github.com/users/apowers313/received_events","type":"User","site_admin":false},"repo":{"id":42256659,"name":"cli","full_name":"apowers313/cli","owner":{"login":"apowers313","id":5661534,"avatar_url":"https://avatars.githubusercontent.com/u/5661534?v=3","gravatar_id":"","url":"https://api.github.com/users/apowers313","html_url":"https://github.com/apowers313","followers_url":"https://api.github.com/users/apowers313/followers","following_url":"https://api.github.com/users/apowers313/following{/other_user}","gists_url":"https://api.github.com/users/apowers313/gists{/gist_id}","starred_url":"https://api.github.com/users/apowers313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apowers313/subscriptions","organizations_url":"https://api.github.com/users/apowers313/orgs","repos_url":"https://api.github.com/users/apowers313/repos","events_url":"https://api.github.com/users/apowers313/events{/privacy}","received_events_url":"https://api.github.com/users/apowers313/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apowers313/cli","description":":cl::round_pushpin: single command setup","fork":true,"url":"https://api.github.com/repos/apowers313/cli","forks_url":"https://api.github.com/repos/apowers313/cli/forks","keys_url":"https://api.github.com/repos/apowers313/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apowers313/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apowers313/cli/teams","hooks_url":"https://api.github.com/repos/apowers313/cli/hooks","issue_events_url":"https://api.github.com/repos/apowers313/cli/issues/events{/number}","events_url":"https://api.github.com/repos/apowers313/cli/events","assignees_url":"https://api.github.com/repos/apowers313/cli/assignees{/user}","branches_url":"https://api.github.com/repos/apowers313/cli/branches{/branch}","tags_url":"https://api.github.com/repos/apowers313/cli/tags","blobs_url":"https://api.github.com/repos/apowers313/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apowers313/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apowers313/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/apowers313/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apowers313/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/apowers313/cli/languages","stargazers_url":"https://api.github.com/repos/apowers313/cli/stargazers","contributors_url":"https://api.github.com/repos/apowers313/cli/contributors","subscribers_url":"https://api.github.com/repos/apowers313/cli/subscribers","subscription_url":"https://api.github.com/repos/apowers313/cli/subscription","commits_url":"https://api.github.com/repos/apowers313/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/apowers313/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/apowers313/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/apowers313/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/apowers313/cli/contents/{+path}","compare_url":"https://api.github.com/repos/apowers313/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apowers313/cli/merges","archive_url":"https://api.github.com/repos/apowers313/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apowers313/cli/downloads","issues_url":"https://api.github.com/repos/apowers313/cli/issues{/number}","pulls_url":"https://api.github.com/repos/apowers313/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/apowers313/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/apowers313/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apowers313/cli/labels{/name}","releases_url":"https://api.github.com/repos/apowers313/cli/releases{/id}","created_at":"2015-09-10T16:32:01Z","updated_at":"2015-09-10T16:32:02Z","pushed_at":"2015-09-15T16:05:01Z","git_url":"git://github.com/apowers313/cli.git","ssh_url":"git@github.com:apowers313/cli.git","clone_url":"https://github.com/apowers313/cli.git","svn_url":"https://github.com/apowers313/cli","homepage":"","size":122,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"semantic-release:master","ref":"master","sha":"640db4c3ee9a58ef6d57b12b245f2be2997cbace","user":{"login":"semantic-release","id":12867925,"avatar_url":"https://avatars.githubusercontent.com/u/12867925?v=3","gravatar_id":"","url":"https://api.github.com/users/semantic-release","html_url":"https://github.com/semantic-release","followers_url":"https://api.github.com/users/semantic-release/followers","following_url":"https://api.github.com/users/semantic-release/following{/other_user}","gists_url":"https://api.github.com/users/semantic-release/gists{/gist_id}","starred_url":"https://api.github.com/users/semantic-release/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semantic-release/subscriptions","organizations_url":"https://api.github.com/users/semantic-release/orgs","repos_url":"https://api.github.com/users/semantic-release/repos","events_url":"https://api.github.com/users/semantic-release/events{/privacy}","received_events_url":"https://api.github.com/users/semantic-release/received_events","type":"Organization","site_admin":false},"repo":{"id":39501938,"name":"cli","full_name":"semantic-release/cli","owner":{"login":"semantic-release","id":12867925,"avatar_url":"https://avatars.githubusercontent.com/u/12867925?v=3","gravatar_id":"","url":"https://api.github.com/users/semantic-release","html_url":"https://github.com/semantic-release","followers_url":"https://api.github.com/users/semantic-release/followers","following_url":"https://api.github.com/users/semantic-release/following{/other_user}","gists_url":"https://api.github.com/users/semantic-release/gists{/gist_id}","starred_url":"https://api.github.com/users/semantic-release/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semantic-release/subscriptions","organizations_url":"https://api.github.com/users/semantic-release/orgs","repos_url":"https://api.github.com/users/semantic-release/repos","events_url":"https://api.github.com/users/semantic-release/events{/privacy}","received_events_url":"https://api.github.com/users/semantic-release/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/semantic-release/cli","description":":cl::round_pushpin: single command setup","fork":false,"url":"https://api.github.com/repos/semantic-release/cli","forks_url":"https://api.github.com/repos/semantic-release/cli/forks","keys_url":"https://api.github.com/repos/semantic-release/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/semantic-release/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/semantic-release/cli/teams","hooks_url":"https://api.github.com/repos/semantic-release/cli/hooks","issue_events_url":"https://api.github.com/repos/semantic-release/cli/issues/events{/number}","events_url":"https://api.github.com/repos/semantic-release/cli/events","assignees_url":"https://api.github.com/repos/semantic-release/cli/assignees{/user}","branches_url":"https://api.github.com/repos/semantic-release/cli/branches{/branch}","tags_url":"https://api.github.com/repos/semantic-release/cli/tags","blobs_url":"https://api.github.com/repos/semantic-release/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/semantic-release/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/semantic-release/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/semantic-release/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/semantic-release/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/semantic-release/cli/languages","stargazers_url":"https://api.github.com/repos/semantic-release/cli/stargazers","contributors_url":"https://api.github.com/repos/semantic-release/cli/contributors","subscribers_url":"https://api.github.com/repos/semantic-release/cli/subscribers","subscription_url":"https://api.github.com/repos/semantic-release/cli/subscription","commits_url":"https://api.github.com/repos/semantic-release/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/semantic-release/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/semantic-release/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/semantic-release/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/semantic-release/cli/contents/{+path}","compare_url":"https://api.github.com/repos/semantic-release/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/semantic-release/cli/merges","archive_url":"https://api.github.com/repos/semantic-release/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/semantic-release/cli/downloads","issues_url":"https://api.github.com/repos/semantic-release/cli/issues{/number}","pulls_url":"https://api.github.com/repos/semantic-release/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/semantic-release/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/semantic-release/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/semantic-release/cli/labels{/name}","releases_url":"https://api.github.com/repos/semantic-release/cli/releases{/id}","created_at":"2015-07-22T11:14:55Z","updated_at":"2015-09-06T20:43:25Z","pushed_at":"2015-09-15T16:07:39Z","git_url":"git://github.com/semantic-release/cli.git","ssh_url":"git@github.com:semantic-release/cli.git","clone_url":"https://github.com/semantic-release/cli.git","svn_url":"https://github.com/semantic-release/cli","homepage":"","size":257,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":10,"forks":6,"open_issues":10,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/semantic-release/cli/pulls/26"},"html":{"href":"https://github.com/semantic-release/cli/pull/26"},"issue":{"href":"https://api.github.com/repos/semantic-release/cli/issues/26"},"comments":{"href":"https://api.github.com/repos/semantic-release/cli/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/semantic-release/cli/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/semantic-release/cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/semantic-release/cli/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/semantic-release/cli/statuses/af3ce3917c22b3665c849edd12a0158df0dca4f3"}}}}