Overview
platform talks to the API from a terminal.
| Command | What it does |
|---|---|
platform hello | Fetch the greeting |
platform health | Check that the API is up |
export PLATFORM_GRPC=template-grpc.localhost:80export PLATFORM_REST=http://template-api.localhostplatform helloplatform healthOptional config file: ~/.platform/config.json (endpoint, rest_endpoint,
token). These environment variables override the file: PLATFORM_GRPC,
PLATFORM_REST, PLATFORM_TOKEN.
If you set nothing: gRPC 127.0.0.1:9090, REST http://127.0.0.1:8080.