Comments (6)
@francescoc-vf due to the architecture of the CLI, environment variables are the primary way of communicating with the package commands - this means adding a global proxy flag would likely just set the HTTP_PROXY
environment variable before forking off the child process.
If this is acceptable, that is fine.
from cli.
Thanks for your prompt answer but proxy support via environment variable does not satisfy my request in #41.
Main target for this utility is supporting DevOps environments; meaning jumpservers, buildservers, monitoring servers.
While an environment variable is an acceptable solution on a personal workstation it's not recommended and usually forbidden in these scenarios.
There are also many other concerns about security and network complexity which really mandates a command line switch.
I'd suggest to consider that all other cli tools in this class (curl, wget, aria, httpie) does support it, usually on top of the environment variable.
Otherwise the value of this tool will be limited to a few very specific use cases.
from cli.
Sorry my bad, didn't explain myself properly :)
There are some limitations where you are not in control of the environment.
Setting up a proxy through a variable is not acceptable while it's "tolerated" via command line switch.
from cli.
@francescoc-vf I understand, I'll look to add this flag, which will just set the environment variable for sub-commands.
from cli.
@khunter has confirmed that Node packages do support HTTP_PROXY
.
from cli.
ruby plugins which use the akamai/AkamaiOPEN-edgegrid-ruby gem (and consequently Net::HTTP in ruby) support http_proxy
, and print this warning with HTTP_PROXY
:
The environment variable HTTP_PROXY is discouraged. Use http_proxy.
from cli.
Related Issues (20)
- All plugins should fallback to default if that specific section doesn't exist HOT 2
- Privacy update not working HOT 12
- Installation of python based module fails on Windows with latest Python/PIP HOT 9
- Add ARM64 release download for Amazon Linux HOT 2
- Running Akmai cli on CI pipeline HOT 1
- (node:17719) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined HOT 3
- `akamai update` sometimes has update errors HOT 6
- Docs need updated maybe? Is it AKAMAI_LOG or AKAMAI_CLI_LOG? HOT 4
- akamai install has errors HOT 3
- can not run cloudlets commands after upgrading to v1.5.1 HOT 34
- sandbox connector - 502 HOT 1
- Bypass the user prompts HOT 1
- DXE-1749 Command completion for bash is broken HOT 5
- DXE-1864 CLI search is broken HOT 3
- unable to fetch remote Package List (invalid character '<' looking for beginning of value) command=search HOT 1
- Homebrew missing NodeJS HOT 2
- Install akamai cli in GitHub actions
- Akamai install error on dockerfile HOT 1
- Cloudlets V3 API support? HOT 4
- DXE-3139 Additional documentation needed for use of python-based sub-commands HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.