Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy support #17

Open
ahyear opened this issue Nov 4, 2019 · 5 comments
Open

Proxy support #17

ahyear opened this issue Nov 4, 2019 · 5 comments

Comments

@ahyear
Copy link

ahyear commented Nov 4, 2019

Hello

I have seen the subject in another issue but it is closed without answer.
does this CLI support proxy using?

Thank You

@justinrummel
Copy link

Proxy support is provided through the Akamai CLI by using the --proxy flag. See:

ladmin@macintosh ~> akamai help
Usage:
  akamai [global flags] command [command flags] [arguments...]

Built-In Commands:
  config
  help
  install (alias: get)
  list
  search
  uninstall
  update

Installed Commands:
  purge

Global Flags:
   --bash     Output bash auto-complete
   --zsh          Output zsh auto-complete
   --proxy value  Set a proxy to use

Copyright (C) Akamai Technologies, Inc

@ahyear
Copy link
Author

ahyear commented Nov 4, 2019

ok , I used le last release 1.0.1 and i get on windows :

akamai-purge.exe help
Usage:
  akamai-purge [global flags] command [command flags] [arguments...]



Description:
   Purge Content from the Edge. URLs/CPCodes/Tags may be specified as a list of arguments, or piped in via STDIN

Built-In Commands:
  invalidate
  delete
  list
  help

Global Flags:
   --edgerc value  Location of the credentials file (default: "C:\\Users\\******\\.edgerc") [%AKAMAI_EDGERC%]
   --section value     Section of the credentials file (default: "ccu") [%AKAMAI_EDGERC_SECTION%]

Copyright (C) Akamai Technologies, Inc

@justinrummel
Copy link

I see, you are using the purge binary vs. using it as a package under the Akamai CLI. Have you tried to use the Akamai CLI and it did not work for you? I'm not sure if Proxy support for the binary is available as all the packages assume the Akamai CLI binary is providing that support.

https://github.com/akamai/cli/releases

@ahyear
Copy link
Author

ahyear commented Nov 4, 2019

I have not tried, I was looking for a standalone program and the CLI-Purge seemed a better and easier way to add it to my projets...

@michaelcw02
Copy link

I have posted a solution on issue #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants