この紹介文は現在英語版のみです。
Overview
cloudflare-cli (cfcli) is a command-line interface for Cloudflare — manage DNS records, toggle Cloudflare proxying, switch development mode and purge the cache without opening the dashboard.
Install
npm install -g cloudflare-cli
Commands include ls, find, add and edit for DNS records, enable/disable for Cloudflare caching on a record, devmode on|off and purge [urls]. Or run it with Docker:
docker pull dpig/cloudflare-cli:latest
docker run --rm -it dpig/cloudflare-cli -h
Setup
Put defaults such as your API token in a YAML file at ~/.cfcli.yml (or pass another file with -c). It supports both scoped API tokens and legacy API keys.