Skip to content

parti-renaissance/cloudflare-tools

Repository files navigation

Cloudflare tools

Console commands for Cloudflare actions

Installation

  1. Create an API Token on Cloudflare

While logged to Cloudflare dashboard, go to Profile > API Tokens > Create Token.

Your token must be granted with Zone DNS Edit permission on your desired zones.

  1. Paste the token in the .env file
CLOUDFLARE_API_TOKEN=abc123
  1. Build the docker container
make build

Usage

Run commands

make run COMMAND="cloudflare:zones:list"
make run COMMAND="cloudflare:dns:list"
make run COMMAND="cloudflare:dns:import"

View available commands

make run COMMAND="list"

View commands detailed description

Run commands with --help option to view detailed description

make run COMMAND="cloudflare:dns:import --help"

About

Console commands for Cloudflare actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages