cli-purge
cli-purge copied to clipboard
Proxy support
Hello
I have seen the subject in another issue but it is closed without answer. does this CLI support proxy using?
Thank You
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
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
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
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...
I have posted a solution on issue #9