GitFlare を日本語でご利用いただけます。 日本語で見る · GitFlare 提供简体中文站点。 查看简体中文 ·

CLI reference

Install once, script everywhere.

The CLI talks to the same REST API as the dashboard. Set GITFLARE_API_TOKEN in CI; never commit it.

Global flags

gitflare [--account ID] [--json] [--dry-run] 

Deploy

$ gitflare deploy --name checkout-api --edge nearest \
    --kv USERS=USERS --var APP_ENV=prod

DNS

$ gitflare dns add example.com A @ 203.0.113.10 --ttl 60
$ gitflare dns list example.com --type A

Tail logs

$ gitflare tail checkout-api --colo NRT --format json

Output is one JSON object per line. Pipe to jq in incident rooms. Sampling is off on Enterprise, 1% on Free.