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

Commit fad5e4c

Browse files
committed
Implement --verbose: write the collected reports
This is similar to --dump (for now), but will also upload.
1 parent 809d496 commit fad5e4c

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
@@ -230,7 +230,7 @@ def main(*argv, **kwargs):
230230

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

236236
# Parse Arguments
@@ -700,6 +700,10 @@ def main(*argv, **kwargs):
700700
write('==> Uploading')
701701
write(' .url ' + codecov.url)
702702
write(' .query ' + remove_token('token=<secret>', urlargs))
703+
if codecov.verbose:
704+
write('-------------------- Reports --------------------')
705+
write(reports)
706+
write('-------------------------------------------------')
703707

704708
s3 = None
705709
trys = 0

0 commit comments

Comments
 (0)