Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Implement --verbose: write the collected reports
Browse files Browse the repository at this point in the history
This is similar to --dump (for now), but will also upload.
  • Loading branch information
blueyed committed Aug 24, 2017
1 parent 809d496 commit fad5e4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion codecov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def main(*argv, **kwargs):

debugging = parser.add_argument_group('======================== Debugging ========================')
debugging.add_argument('--dump', action="store_true", help="Dump collected data and do not send to Codecov")
debugging.add_argument('-v', '--verbose', action="store_true", help="No comfigured yet")
debugging.add_argument('-v', '--verbose', action="store_true", help="Be verbose, e.g. dump the collected data")
debugging.add_argument('--no-color', action="store_true", help="Do not output with color")

# Parse Arguments
Expand Down Expand Up @@ -700,6 +700,10 @@ def main(*argv, **kwargs):
write('==> Uploading')
write(' .url ' + codecov.url)
write(' .query ' + remove_token('token=<secret>', urlargs))
if codecov.verbose:
write('-------------------- Reports --------------------')
write(reports)
write('-------------------------------------------------')

s3 = None
trys = 0
Expand Down

0 comments on commit fad5e4c

Please sign in to comment.