This is the official command line interface (CLI) for EdgeCast.
- Go 1.18
To install the CLI, download and run the install script:
[Download URL TBD]
Commands follow the following format:
$ ec <command> <subcommand> --arg1=value1 --arg2=value2`
Below is an example:
$ ec origin getallorigins --accountnumber=ABCDE --mediatypeid=3
In addition to using flags to provide inputs, you may also provide JSON input:
$ ec origin getallorigins --input='{AccountNumber:ABCD, MediaTypeID=3}'
To view the top-level documentation for the CLI including all available commands, use the help
command:
$ ec help
To get help for a command or subcommand, use the --help
flag:
$ ec origin --help
To view your version of the cli:
$ ec version
- CDN Reference Documentation
- This is a useful resource for learning about the EdgeCast CDN. It is a good starting point before using this CLI.
- API Documentation
- For developers that want to interact directly with the EdgeCast CDN API, refer to this documentation. It contains all of the available operations as well as their inputs and outputs.
- EdgeCast GO SDK
- For developers that want to use the EdgeCast platform using Go. The EC CLI uses the SDK under the hood.
- Examples
- Examples to get started can be found here.
- Submit an Issue
- Found a bug? Want to request a feature? Please do so here.