Skip to content

Commit

Permalink
chore(README): add attribution and update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp committed Sep 20, 2023
1 parent 7645682 commit 377d4e9
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@

Reimplementation of [cloudflare-dyndns](https://github.com/colemickens/cloudflare-dyndns) in [Rust](https://www.rust-lang.org).

Special thanks to [colemickens](https://github.com/colemickens) for bootstrapping and transferring ownership of this project.

## building

`cargo build`

## usage

```shell
Usage: cfdyndns [OPTIONS]
```console
Usage: cfdyndns [OPTIONS] --records <RECORDS>

Options:
-r, --records <RECORDS> Comma separated DNS records to update with the host's public IP [env:
CLOUDFLARE_RECORDS=panzy.nrd.sh,panzy.nrd.sh,nrd.xp]
-t, --token <TOKEN> recommended: The CloudFlare API token to authenticate with deprecated: The CloudFlare
API key to authenticate with, also requires email [env: CLOUDFLARE_APITOKEN]
-k, --key <KEY> deprecated: The CloudFlare email to authenticate with, also requires API key [env:
CLOUDFLARE_APIKEY]
-e, --email <EMAIL> [env: CLOUDFLARE_EMAIL=]
-r, --records <RECORDS> Comma separated DNS records to update with the host's public IP [env: CLOUDFLARE_RECORDS=]
-t, --token <TOKEN> recommended: The CloudFlare API token to authenticate with [env: CLOUDFLARE_APITOKEN]
-k, --key <KEY> deprecated: The CloudFlare API key to authenticate with, also requires email [env: CLOUDFLARE_APIKEY]
-e, --email <EMAIL> deprecated: The CloudFlare email to authenticate with, also requires API key [env: CLOUDFLARE_EMAIL=]
-v, --verbose... More output per occurrence
-q, --quiet... Less output per occurrence
-6 set an AAAA record to the host's ipv6 address
-4 set an A record to the host's ipv4 address
-h, --help Print help
-V, --version Print version
```
Expand Down

0 comments on commit 377d4e9

Please sign in to comment.