Added --quiet argument to suppress progress bars #144
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for a --quiet option for download-single and download-multiple commands.
After updating to the latest gen3-client.exe file, our python scripts at MIDRC stopped working due to these functions needing an actual terminal window to generate the progress bars, and attempted workarounds to generate a console weren't working. Since this issue only seems to occur when used with a script wrapper, we can assume that the scripter should have a way to track progress (whether they choose to track progress or not is up to them).
Link to JIRA ticket if there is one:
New Features
Added a --quiet flag for download-single and download-multiple
Breaking Changes
None
Bug Fixes
If a progress bar could not be generated due to not finding a suitable terminal window, gen3-client would create a zero byte file and exit.
Improvements
Dependency updates
Deployment changes
We may need to update web docs to notify users of this new flag. The flag documentation when using e.g.
./gen3-client download-single --helpin included with this PR.