fastlycli

module
v1.0.12-f83f6b8 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT

README

fastlycli

Build GoDoc Go Report Card

Purpose

a simple CLI tool to interact with the Fastly CDN

Usage

lappy:~ root$ export FASTLYAPIKEY=adkjsdfiousdksdfoiujsdflkjsdfjk
lappy:~ root$ ./fastly service domains -service test.com
[
    {
        "comment": "",
        "name": "css.test.com"
    },
    {
        "comment": "",
        "name": "js.test.com"
    },
    {
        "comment": "",
        "name": "img.test.com"
    }
]
lappy:~ root$ ./fastly purge -service example.com -o http://www.example.com/js/main.js
Service test.com successfully purged
lappy:~ root$ ./fastly purgeall -service example.com
Service test.com successfully purged
lappy:~ root$ fastly -h
NAME:
   fastly - Manage Fastly CDN Services via the cli

USAGE:
   fastly [global options] command [command options] [arguments...]

VERSION:
   0.9.0

COMMANDS:
   service   Get Service Details
   purge     Purge objects from the CDN
   purgeall  Purge all objects from the CDN
   help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h        show help
   --version, -v     print the version

Issues

  • None

License

MIT Licensed

Directories

Path Synopsis
cmd
package fastly is simple package tool to interact with the Fastly CDN API
package fastly is simple package tool to interact with the Fastly CDN API

Jump to

Keyboard shortcuts

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