clickflare

PyPI Version PyPI Upload

A command line tool for interacting with Cloudflare’s API.

Installation

(This should be able to be ran with pipx as long as you have a config file set up. See the Configuration section for more information.)

With pipx

pipx run clickflare [options/commands]

Otherwise

pip install clickflare

Configuration

In the file ~/.clickflare/config (create it if it doesn’t exist)
[cf-api]
token = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Obviously replace XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX with your API token.

Usage

clickflare [options] [commands]

Some commands will prompt for input if it is not provided. (e.g. clickflare zones dns_records add)