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

Implement --verbose: write the collected reports #106

Merged
merged 2 commits into from Jun 9, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion codecov/__init__.py
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