test-reporter icon indicating copy to clipboard operation
test-reporter copied to clipboard

upload-coverage Usage

Open pbrisbin opened this issue 7 years ago • 0 comments

Current help

Upload pre-formatted coverage payloads to Code Climate servers.

Usage:
  cc-test-reporter upload-coverage [flags]

Flags:
  -s, --batch-size int    batch size for source files (default 500)
  -e, --endpoint string   endpoint to upload coverage information to (default "https://api.codeclimate.com/v1/test_reports")
  -r, --id string         reporter identifier
  -i, --input string      input path (default "coverage/codeclimate.json")

Global Flags:
  -d, --debug   run in debug mode

Proposed Changes:

  • Don't show Global Flags
  • Use consistent case
  • Accept path as arg, not --input flag. Default to stdin if missing
  • Can we get the text wrapping?

Updated help

Upload pre-formatted coverage payloads to Code Climate servers.

Usage:
  cc-test-reporter upload-coverage [flags] [path]

Flags:
  -s, --batch-size int    Batch size for source files (default 500)
  -e, --endpoint string   Endpoint to upload coverage information to (default
                          "https://api.codeclimate.com/v1/test_reports")
  -r, --id string         Reporter identifier

pbrisbin avatar May 19 '17 12:05 pbrisbin