Skip to content

Edgio/ec-cli

Repository files navigation

EdgeCast CLI

This is the official command line interface (CLI) for EdgeCast.

Getting Started

Requirements

  • Go 1.18

Installation

To install the CLI, download and run the install script:

[Download URL TBD]

Using the CLI

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

Resources

  • 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •