Skip to main content

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudben-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 99d46b164922105d60e9ef793b59438004efa0fe92bcff30d241640e936b1bc6
MD5 66ae2b4e4ee16bb195d4079645cefa6d
BLAKE2b-256 80e921dfd1f6d20aacf0c70930bc680c44a192512c78e08b7ed46fcfdfba3b80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloudben-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c9574b7434dfc8fb82c3c1f4492f2d7617e00500c0e6bbaa2da644206724ea0
MD5 c9f56b239015e92c2c39114756c26e4b
BLAKE2b-256 9345c3d25308f7dad2747f01785443fcbf2c797ba7edac53da07daf6434c7d39

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