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

Commit

Permalink
Merge pull request #106 from blueyed/verbose
Browse files Browse the repository at this point in the history
Implement --verbose: write the collected reports
  • Loading branch information
thomasrockhu authored Jun 9, 2019
2 parents 3502fdd + 1d5d288 commit ba51a78
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 @@ -246,7 +246,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="Not configured 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 @@ -721,6 +721,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 ba51a78

Please sign in to comment.