v0.3.0
What's new
The CLI now covers the whole Stats API, reading and writing. Twenty-two new commands:
- Sites:
sites create,sites edit,sites delete - Goals and funnels:
goals create|edit|delete,funnels create|edit|delete - API keys:
keys,keys create,keys rotate,keys revoke,keys events - Settings:
settings,settings set tracking|countries|blocked-ips|hostnames|public-dashboard - Account:
auth register— sign up and get a first key without a browser
Destructive commands ask first, and refuse without --yes where nobody can answer.
Nothing was removed or renamed: every command and flag from v0.2.2 behaves as before.
Changelog
- 994cb573dcc280161a3e930a9112a1d7553e87e7: Cover the whole API, and make a gap impossible to miss again (@key-arg)
- 72230e7b7e85f7f9f6303e227e42b175374fe0cb: Fix what the multi-agent review found: three commands never worked (@key-arg)
- 1691995f3b4d226eeaae2f4674dcd3d33fc4c057: Make the coverage guard something that can actually fail (@key-arg)
- 12ff7b3970bd47aa7601e49ba874acec27b3fbf0: Stop offering an Arch package that does not exist (@key-arg)
- f942923254b623ebeb4858695daf855246a020c2: Test what writing does, and fuzz what parses it (@key-arg)
- 6aa6bc519ed075b199f6793d4e43574c81b5f556: The README still claimed sixteen commands (@key-arg)
- 1392b0b14e41b542cfceeedbd10a039f7d68644f: The coverage test could not run the binary it built on Windows (@key-arg)
Install
macOS and Linux (Homebrew): brew install key-arg/tap/statable
Anywhere with Go: go install github.com/key-arg/statable-cli/cmd/statable@v0.3.0
mise: mise use -g "ubi:key-arg/statable-cli[exe=statable]"
Or download the archive for your platform below. There is deliberately no
curl | sh installer.
Verify what you downloaded
cosign verify-blob checksums.txt \
--certificate checksums.txt.pem \
--signature checksums.txt.sig \
--certificate-identity-regexp 'https://github\.com/key-arg/statable-cli/\.github/workflows/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum --check checksums.txt --ignore-missing
Statable
Docs · Stats API · Blog · Status
Cookieless web analytics hosted in the EU: statable.com