maxcli

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2014 License: MIT

README

maxcdn tools

Collection of CLI tools for interfacing with MaxCDN's REST API

Built using github.com/MaxCDN/go-maxcdn.

Configuration

All tools use a configuration file as it's last means of getting alias, secret and token. See individal tool help for addtional options available in your configuration.

---
alias: YOUR_ALIAS
token: YOUR_TOKEN
secret: YOUR_SECRET

See sample.maxcdn.yml for a more complete example.

Installing:

This can also be installed for system wide use if your GOBIN is set via the following:

# via 'go get' && 'go install'
##

go get github.com/MaxCDN/maxcdn-tools/{{tool}}
go install github.com/MaxCDN/maxcdn-tools/{{tool}}

# manually
##

git clone https://github.com/MaxCDN/maxcdn-tools
cd maxcdn-tools

# build and install all tools
make build install

# or a single tool
make build/{{tool}} install/{{tool}}

# windows users
cd {{tool}}
go build
move {{tool}} c:\path\to\GOBIN

See individal tool README for additional instructions.

Prebuilt Binaries:

A set of binaries for all tools have been prebuilt using golang's cross compiler on Linux 3.8.0-36-generic #52~precise1-Ubuntu SMP x86_64.

Building All Binaries:

make setup # only once, this takes a while
make build/all

# or
make build/all/{{tool}}

Here's what's available for each tool:

Note: As of yet, these binaries have not been tested on all OS/ARCH combinations.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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