minor update README
This commit is contained in:
parent
89c122f270
commit
7a7e50bf34
10
README.md
10
README.md
@ -4,19 +4,19 @@ CLI tool to manage cloudflare DNS records
|
|||||||
|
|
||||||
### Using [go](https://go.dev)
|
### Using [go](https://go.dev)
|
||||||
```bash
|
```bash
|
||||||
❯ go install go.balki.me/cloudflare-dns-cli@latest
|
go install go.balki.me/cloudflare-dns-cli@latest
|
||||||
|
|
||||||
# Run directly without installing
|
# Run directly without installing
|
||||||
❯ go run go.balki.me/cloudflare-dns-cli@latest -h
|
go run go.balki.me/cloudflare-dns-cli@latest -h
|
||||||
|
|
||||||
```
|
```
|
||||||
### Using [docker](https://www.docker.com)
|
### Using [docker](https://www.docker.com)
|
||||||
```bash
|
```bash
|
||||||
❯ mkdir -p $HOME/bin
|
mkdir -p $HOME/bin
|
||||||
❯ docker run --pull=always --rm -v "$HOME/bin:/op" golang sh -c "go install go.balki.me/cloudflare-dns-cli@latest && install -o $(id -u) -g $(id -g) /go/bin/cloudflare-dns-cli /op/"
|
docker run --pull=always --rm -v "$HOME/bin:/op" golang sh -c "go install go.balki.me/cloudflare-dns-cli@latest && install -o $(id -u) -g $(id -g) /go/bin/cloudflare-dns-cli /op/"
|
||||||
|
|
||||||
# Run directly without installing
|
# Run directly without installing
|
||||||
❯ docker run --pull=always --rm golang go run go.balki.me/cloudflare-dns-cli@latest -h
|
docker run --pull=always --rm golang go run go.balki.me/cloudflare-dns-cli@latest -h
|
||||||
```
|
```
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
Loading…
Reference in New Issue
Block a user