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.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudben-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/6.5.0-1017-azure

File hashes

Hashes for cloudben-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1adee7298c716a84360c0d596bf96307e18b92db34c93a0d47d803acd30d7bb6
MD5 adfd254a924806aa74475f0bbe608e80
BLAKE2b-256 43979ef2a23d36de6ff3a74781252d11c3eebea3ba2ac0de5c5ffffb8b0a228d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloudben-0.1.2-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.1 Linux/6.5.0-1017-azure

File hashes

Hashes for cloudben-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e6319131fa80d3533ef2db79deac61598517b22d96a73a60fce31f01862c878
MD5 dad20183a14282ba05aceac0beef0403
BLAKE2b-256 32359cd8ebd852f424450126da40a4f92b6402b29bd959c8f870304e340ca071

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