Skip to content

πŸ¦€ CLI for Cloudflare API πŸ¦€

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

davepmiller/cliflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

cliffy

build publish Coverage Status crates.io downloads license license

  • πŸ›  CLI️ to interact with Cloudflare APIs
  • πŸ₯³ An excuse to write some Rust
  • πŸ‘· Under heavy development

Setup

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install Cliflare

cargo install cliflare

Environment

# add your token value to a startup script
echo CLOUDFLARE_ENDPOINT=https://api.cloudflare.com/client/v4 >> ~/.zshrc
echo CLOUDFLARE_TOKEN=abcd1234**API_TOKEN**4321dcba >> ~/.zshrc
echo CLOUDFLARE_ACCOUNT_ID=abcd1234**ACCOUNT_ID**4321dcba >> ~/.zshrc

Functionality

See examples in usage.md

  • token verify
  • zone [ list | create | delete ]
  • dns [ list | import | export | delete all ]
  • settings list

License

Cliflare is free software. This project is available under the terms of either the Apache 2.0 license or the MIT license. Cliflare is provided on an "AS IS" basis and there is NO WARRANTY attached to it.

Feature Requests

Fill out this form and I'll get back to you.

About

πŸ¦€ CLI for Cloudflare API πŸ¦€

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages