diff --git a/README.md b/README.md index 0a9889b..cc35068 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,21 @@ CLI tool to manage cloudflare DNS records ## Installation -### Using go +### Using [go](https://go.dev) ```bash ❯ go install go.balki.me/cloudflare-dns-cli@latest -# Or run directly -❯ go run go.balki.me/cloudflare-dns-cli@latest +# Run directly without installing +❯ go run go.balki.me/cloudflare-dns-cli@latest -h ``` -### Using docker +### Using [docker](https://www.docker.com) ```bash ❯ 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/" + +# Run directly without installing +❯ docker run --pull=always --rm golang go run go.balki.me/cloudflare-dns-cli@latest -h ``` ## Features