cloudflare-maintenance-page-cli

screenshot

setup

To install dependencies:

bun install

To link globally:

bun link

Then use cfmp anywhere.

commands

configuration

At the first run, it will create ~/.config/cloudflare-maintenance-page-cli/config.json, then prompt for your Cloudflare credentials:

To edit the config, just run cfmp config.

You can also use environment variables (example CLOUDFLARE_API_TOKEN=your_token... cfmp deploy).

The config has two sections:

This project was created using bun init in bun v1.2.19. Bun is a fast all-in-one JavaScript runtime.