Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf-pr-toggle

Build Status

A dead simple Golang project tool in order to toggle my Page Rules on Cloudflare.

Toggle means either enable or disable a given rule.

Go dependencies

Building

go build

Testing

go test -v

Usage

You need to pass the 2 following variables to authenticate against the Cloudflare API:

$ export CLOUDFLARE_EMAIL=<youremail> CLOUDFLARE_TOKEN=<yourtoken>
$ ./cf-pr-toggle # list existing rules
$ ./cf-pr-toggle <rule-id> # toggle rule with id <rule-id>

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages