{"action":"created","issue":{"url":"https://api.github.com/repos/btd/mocha-better-spec-reporter/issues/4","repository_url":"https://api.github.com/repos/btd/mocha-better-spec-reporter","labels_url":"https://api.github.com/repos/btd/mocha-better-spec-reporter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/btd/mocha-better-spec-reporter/issues/4/comments","events_url":"https://api.github.com/repos/btd/mocha-better-spec-reporter/issues/4/events","html_url":"https://github.com/btd/mocha-better-spec-reporter/pull/4","id":193305561,"number":4,"title":"Add clear screen option","user":{"login":"hastebrot","id":496255,"avatar_url":"https://avatars.githubusercontent.com/u/496255?v=3","gravatar_id":"","url":"https://api.github.com/users/hastebrot","html_url":"https://github.com/hastebrot","followers_url":"https://api.github.com/users/hastebrot/followers","following_url":"https://api.github.com/users/hastebrot/following{/other_user}","gists_url":"https://api.github.com/users/hastebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hastebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hastebrot/subscriptions","organizations_url":"https://api.github.com/users/hastebrot/orgs","repos_url":"https://api.github.com/users/hastebrot/repos","events_url":"https://api.github.com/users/hastebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hastebrot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-03T18:25:20Z","updated_at":"2016-12-04T10:37:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/btd/mocha-better-spec-reporter/pulls/4","html_url":"https://github.com/btd/mocha-better-spec-reporter/pull/4","diff_url":"https://github.com/btd/mocha-better-spec-reporter/pull/4.diff","patch_url":"https://github.com/btd/mocha-better-spec-reporter/pull/4.patch"},"body":"Add an option (`clear-screen`) to clear the screen before executing tests. This is inspired by Mocha's `min` reporter [1]. Useful in combination with Mocha's `--watch` parameter.\r\n\r\n- [x] Add option (via environment variable or command line parameter) to `index.js`.\r\n- [x] Update `README.md`.\r\n\r\nExample command line usage:\r\n\r\n~~~\r\n$ mocha --reporter mocha-better-spec-reporter --reporter-options clear-screen=true,hide-stats=true\r\n~~~\r\n\r\n[1] https://github.com/mochajs/mocha/blob/v3.2.0/lib/reporters/min.js#L26-L29"},"comment":{"url":"https://api.github.com/repos/btd/mocha-better-spec-reporter/issues/comments/264696152","html_url":"https://github.com/btd/mocha-better-spec-reporter/pull/4#issuecomment-264696152","issue_url":"https://api.github.com/repos/btd/mocha-better-spec-reporter/issues/4","id":264696152,"user":{"login":"hastebrot","id":496255,"avatar_url":"https://avatars.githubusercontent.com/u/496255?v=3","gravatar_id":"","url":"https://api.github.com/users/hastebrot","html_url":"https://github.com/hastebrot","followers_url":"https://api.github.com/users/hastebrot/followers","following_url":"https://api.github.com/users/hastebrot/following{/other_user}","gists_url":"https://api.github.com/users/hastebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hastebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hastebrot/subscriptions","organizations_url":"https://api.github.com/users/hastebrot/orgs","repos_url":"https://api.github.com/users/hastebrot/repos","events_url":"https://api.github.com/users/hastebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hastebrot/received_events","type":"User","site_admin":false},"created_at":"2016-12-04T10:37:59Z","updated_at":"2016-12-04T10:37:59Z","body":">Or Windows cmd.exe also works\r\n\r\nI guess it will only work with terminal emulators that support these instructions. I could be wrong though."}}
{"actor":{"display_login":"hastebrot"}}