| Crates.io | with-proxy |
| lib.rs | with-proxy |
| version | 0.1.0 |
| created_at | 2025-04-19 03:32:05.950795+00 |
| updated_at | 2025-04-19 03:32:05.950795+00 |
| description | A CLI tool that reads proxy configuration from ${HOME}/.env and sets temporary proxy settings |
| homepage | |
| repository | https://github.com/Yellster/with-proxy |
| max_upload_size | |
| id | 1640259 |
| size | 6,748 |
A CLI tool that reads proxy configuration from ${HOME}/.env file and sets temporary proxy settings when using the CLI.
${HOME}/.env filecargo install with-proxy
with-proxy <command> [args...]
For example:
with-proxy curl https://example.com
Create a .env file in your home directory with your proxy settings:
https_proxy=http://127.0.0.1:7890
http_proxy=http://127.0.0.1:7890
no_proxy=localhost,127.0.0.1
HTTPS_PROXY=http://127.0.0.1:7890
HTTP_PROXY=http://127.0.0.1:7890
NO_PROXY=localhost,127.0.0.1
This project is licensed under the MIT License - see the LICENSE file for details.