Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit ba51a78

Browse files
authored
Merge pull request #106 from blueyed/verbose
Implement --verbose: write the collected reports
2 parents 3502fdd + 1d5d288 commit ba51a78

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

codecov/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def main(*argv, **kwargs):
246246

247247
debugging = parser.add_argument_group('======================== Debugging ========================')
248248
debugging.add_argument('--dump', action="store_true", help="Dump collected data and do not send to Codecov")
249-
debugging.add_argument('-v', '--verbose', action="store_true", help="Not configured yet")
249+
debugging.add_argument('-v', '--verbose', action="store_true", help="Be verbose, e.g. dump the collected data")
250250
debugging.add_argument('--no-color', action="store_true", help="Do not output with color")
251251

252252
# Parse Arguments
@@ -721,6 +721,10 @@ def main(*argv, **kwargs):
721721
write('==> Uploading')
722722
write(' .url ' + codecov.url)
723723
write(' .query ' + remove_token('token=<secret>', urlargs))
724+
if codecov.verbose:
725+
write('-------------------- Reports --------------------')
726+
write(reports)
727+
write('-------------------------------------------------')
724728

725729
s3 = None
726730
trys = 0

0 commit comments

Comments
 (0)