Command line tooling for interacting with the Platoon backend, querying of events and for debugging client-side integrations.
go install github.com/platoon-cc/platoon-cli@latest
Platoon CLI has built in help so just running with no arguments (or with -h, --help) will display command help.
When adding a client integration to your game, it can be useful to test locally before beginning to send events to the backend. For this purpose, Platoon CLI provides a local server which can be run like this:
platoon-cli server
This will start listening on localhost at port 9998 (the port can be changed by passing --port <int>
as an argument)
Then, set your client into Debug Mode and set the Debug URL to be http://localhost:9998
(the default) and then
any events sent from your integration will be ingested into a local sqlite database.
There are a few built-in queries. Run platoon-cli query
to see a list - and make sure to pass the --local
flag to run against locally gathered events.
- Update the version
go run tools/update_version.go
git commit ...
git push ...
./tools/push_tag.sh