cloudflare-cli

Running Cloudflare API through CLI

Usages

Download latest binary from github

curl -L https://github.com/epiHATR/cloudflare-cli/releases/download/v0.0.1/cloudflare-darwin-amd64-v0.0.1 -O
sudo mv cloudflare-darwin-amd64-v0.0.1 /usr/local/bin/cloudflare
sudo chmod +x /usr/local/bin/cloudflare

#run cloudflare-cli commands
cloudflate

Build

for Windows

GOOS=windows GOARCH=amd64 go build -o release/cloudflare-windows-amd64-v.0.0.1.exe cloudflare

for Linux 64

GOOS=linux GOARCH=amd64 go build -o release/cloudflare-linux-amd64-v.0.0.1 cloudflare

for Apple Silicon

GOOS=darwin GOARCH=arm64 go build -o release/cloudflare-darwin-amd64-v0.0.1 cloudflare

GitHub

View Github