GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MaxCDN/maxcli: Collection of CLI tools for interfacing with MaxCDN's REST API

BranchesTags
Open more actions menu

Latest commit

 

History

52 Commits
52 Commits

Folders and files

NameName
Last commit message
Last commit date
_builds
_builds
 
 
_test
_test
 
 
maxcurl
maxcurl
 
 
maxpurge
maxpurge
 
 
maxreport
maxreport
 
 
maxtail
maxtail
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
sample.maxcdn.yml
sample.maxcdn.yml
 
 

Repository files navigation

maxcdn tools

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

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

Note

maxtail currently isn't working as intended. See issue #2 for updates.

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
zones:
  - YOUR_ZONE

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 -u github.com/MaxCDN/maxcli/{{tool}}

# manually
##

git clone https://github.com/MaxCDN/maxcli
cd maxcli

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

Building All Binaries:

make build/all

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

Here's what's available for each tool:

  • maxreport
    • linux-amd64 (md5)
    • darwin-amd64 (md5)
    • windows-amd64 (md5)
  • maxpurge
    • linux-amd64 (md5)
    • darwin-amd64 (md5)
    • windows-amd64 (md5)
  • maxcurl
    • linux-amd64 (md5)
    • darwin-amd64 (md5)
    • windows-amd64 (md5)
  • maxtail
    • linux-amd64 (md5)
    • darwin-amd64 (md5)
    • windows-amd64 (md5)

To cross compile your own binary for a different OS / ARCH, run the following...

env GOOS={{OS}} GOARCH={{ARCH}} go build github.com/MaxCDN/maxcli/{{tool}}

Requires Go 1.5 or higher

About

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

Resources

Readme
MIT license
Activity
Custom properties

Stars

20 stars

Watchers

3 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.