A CLI for managing Cloudflare zones and tunnels
git clone https://github.com/ros-e/CFCLI.git
cd CFCLI && cargo build --release- API Token: https://dash.cloudflare.com/profile/api-tokens
- Create a token with permissions: Zone:Edit, DNS:Edit, Tunnel:Edit
- Account ID: Found in the Cloudflare dashboard sidebar
echo 'export CF_API_TOKEN="your_api_token"' >> ~/.bashrc
echo 'export CF_ACCOUNT_ID="your_account_id"' >> ~/.bashrc
source ~/.bashrcCF-CLI