cloudflared-output-domain
v0.0.2
Published
# usage
Downloads
7
Readme
cloudflared-output-domain
usage
- Create tunnel
cloudflared --metrics 127.0.0.1:55555 --url http://127.0.0.1:8080
- Get the domain and pass it to the echo command.
npx cloudflared-output-domain --url http://127.0.0.1:55555 -- echo {url}
# output string
# https://xxxxxxxxxx.trycloudflare.com/
npx cloudflared-output-domain --url http://127.0.0.1:55555 -- echo {host}
# output string
# xxxxxxxxxx.trycloudflare.com