Use HTTP_PROXY and HTTPS_PROXY environment variable values (CLI arguments take precedence)
Fetch using proxy values (if defined)
Update docs
Tested manually on my locale Windows machine using Fiddler, in particular using the Fiddler URL as a proxy. Configuring an https proxy, for instance, routes requests to GitHub (https) through Fiddler. Screenshot:
httpProxy
andhttpsProxy
CLI argumentsHTTP_PROXY
andHTTPS_PROXY
environment variable values (CLI arguments take precedence)Tested manually on my locale Windows machine using Fiddler, in particular using the Fiddler URL as a proxy. Configuring an https proxy, for instance, routes requests to GitHub (https) through Fiddler. Screenshot: