{"action":"opened","issue":{"url":"https://api.github.com/repos/codeclimate/test-reporter/issues/156","repository_url":"https://api.github.com/repos/codeclimate/test-reporter","labels_url":"https://api.github.com/repos/codeclimate/test-reporter/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/codeclimate/test-reporter/issues/156/comments","events_url":"https://api.github.com/repos/codeclimate/test-reporter/issues/156/events","html_url":"https://github.com/codeclimate/test-reporter/issues/156","id":229965989,"number":156,"title":"upload-coverage Usage","user":{"login":"pbrisbin","id":50812,"avatar_url":"https://avatars0.githubusercontent.com/u/50812?v=3","gravatar_id":"","url":"https://api.github.com/users/pbrisbin","html_url":"https://github.com/pbrisbin","followers_url":"https://api.github.com/users/pbrisbin/followers","following_url":"https://api.github.com/users/pbrisbin/following{/other_user}","gists_url":"https://api.github.com/users/pbrisbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pbrisbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbrisbin/subscriptions","organizations_url":"https://api.github.com/users/pbrisbin/orgs","repos_url":"https://api.github.com/users/pbrisbin/repos","events_url":"https://api.github.com/users/pbrisbin/events{/privacy}","received_events_url":"https://api.github.com/users/pbrisbin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-19T12:53:23Z","updated_at":"2017-05-19T12:53:23Z","closed_at":null,"body":"**Current help**\r\n\r\n```\r\nUpload pre-formatted coverage payloads to Code Climate servers.\r\n\r\nUsage:\r\n  cc-test-reporter upload-coverage [flags]\r\n\r\nFlags:\r\n  -s, --batch-size int    batch size for source files (default 500)\r\n  -e, --endpoint string   endpoint to upload coverage information to (default \"https://api.codeclimate.com/v1/test_reports\")\r\n  -r, --id string         reporter identifier\r\n  -i, --input string      input path (default \"coverage/codeclimate.json\")\r\n\r\nGlobal Flags:\r\n  -d, --debug   run in debug mode\r\n```\r\n\r\n**Proposed Changes**:\r\n\r\n- Don't show *Global Flags*\r\n- Use consistent case\r\n- Accept path as arg, not `--input` flag. Default to `stdin` if missing\r\n- Can we get the text wrapping?\r\n\r\n**Updated help**\r\n\r\n```\r\nUpload pre-formatted coverage payloads to Code Climate servers.\r\n\r\nUsage:\r\n  cc-test-reporter upload-coverage [flags] [path]\r\n\r\nFlags:\r\n  -s, --batch-size int    Batch size for source files (default 500)\r\n  -e, --endpoint string   Endpoint to upload coverage information to (default\r\n                          \"https://api.codeclimate.com/v1/test_reports\")\r\n  -r, --id string         Reporter identifier\r\n```\r\n"}}
{"actor":{"display_login":"pbrisbin"}}