Skip to main content

Simply CLI tool to interact with the Cloudflare APIs.

Project description

cloudben

Usage:

$ cloudben [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • create-record
  • delete-record
  • delete-records
  • get-records

cloudben create-record

Usage:

$ cloudben create-record [OPTIONS] ZONE_ID NAME CONTENT TYPE:{A|CNAME|AAAA|TXT|MX}

Arguments:

  • ZONE_ID: your zone id [required]
  • NAME: name of the Cloudflare record [required]
  • CONTENT: value of the Cloudflare record (what the record will resolve to) [required]
  • TYPE:{A|CNAME|AAAA|TXT|MX}: type of the Cloudflare record [required]

Options:

  • --priority INTEGER RANGE: priority of the TXT record [default: 0; 0<=x<=65535]
  • --json / --no-json: will output valid JSON. It can we useful when using this command in your script. Vanity logging will be disabled [default: no-json]
  • --help: Show this message and exit.

cloudben delete-record

Usage:

$ cloudben delete-record [OPTIONS] ZONE_ID RECORD_ID

Arguments:

  • ZONE_ID: your zone id [required]
  • RECORD_ID: id of the record to delete [required]

Options:

  • --force: Do not ask for confirmation when deleting.
  • --help: Show this message and exit.

cloudben delete-records

Usage:

$ cloudben delete-records [OPTIONS] ZONE_ID QUERY

Arguments:

  • ZONE_ID: your zone id [required]
  • QUERY: Text to be contained in the record's name. [required]

Options:

  • --force: Do not ask for confirmation when deleting.
  • --help: Show this message and exit.

cloudben get-records

Usage:

$ cloudben get-records [OPTIONS] ZONE_ID

Arguments:

  • ZONE_ID: your zone id [required]

Options:

  • --query TEXT: Text to be contained in the record's name.
  • --json / --no-json: will output valid JSON. It can we useful when using this command in your script. Vanity logging will be disabled [default: no-json]
  • --help: Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudben-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

cloudben-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file cloudben-0.1.1.tar.gz.

File metadata

  • Download URL: cloudben-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.0.0

File hashes

Hashes for cloudben-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fdf7e851c87b825b8c4cba0edfdb053cf20417309ea32c55e445f69b793fe018
MD5 093cdc33ef9bb7071b9d5adcf110a60a
BLAKE2b-256 6aca391a8b46cc3ddb0b75071edae6ad6f0616d637ef420a53388d7f6e30f4bd

See more details on using hashes here.

File details

Details for the file cloudben-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cloudben-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.0.0

File hashes

Hashes for cloudben-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b5d2481da5899df24c804a0b88bfd9f05a41e86565833f94c9c0cbe28ef77c9
MD5 eec66c8984c89407ada4ef57a7587b41
BLAKE2b-256 285d4ebccdfd58b71e98b940ee0bdd5e4034cbbb687ffa407ce1c1bb3307cb7b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page