You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While it's nice to have a progress bar when executing twine interactively, it would be nice to have the option of not displaying the progress bar for those of us who want to redirect twine's output to a file or otherwise use it in a non-interactive way. tqdm has a disable flag: https://github.com/tqdm/tqdm#documentation so it should quite simple to implement.
The text was updated successfully, but these errors were encountered:
repository.py needs to forward the disable flag to the tqdm ProgressBar.
There are several ways to send this flag over to the ProgressBar, quickest and the dirtiest being adding the flag to the upload method in the Repository.
Since the ProgressBar is a small part of upload I think it is not that big of a deal to include a disable_progress_bar option in the upload method. We could also expose it in the Repository init if it makes sense.
I don't see any other arguments of tqdm that might need exposing through the command line in the future other than maybe the leave flag which removes the traces of the progress bar upon completion. However, I don't foresee a case where this flag might be needed.
While it's nice to have a progress bar when executing twine interactively, it would be nice to have the option of not displaying the progress bar for those of us who want to redirect twine's output to a file or otherwise use it in a non-interactive way. tqdm has a disable flag: https://github.com/tqdm/tqdm#documentation so it should quite simple to implement.
The text was updated successfully, but these errors were encountered: