ec-cli

command module
v0.0.0-...-7af098d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL