golain-cli is a focused CLI for operators who need quick device list and SSH access through Golain’s MQTT bridge. It lives in golain-io/golain-cli.Documentation Index
Fetch the complete documentation index at: https://docs.ilyama.golain.io/llms.txt
Use this file to discover all available pages before exploring further.
When to use it
| Use golain-cli | Use platform-tui instead |
|---|---|
| SSH into a named device | Full fleet CRUD, OTA, integrations |
| Quick device status check | JSON/CI automation |
| Field technician laptop | TUI data explorer, edge sync |
Typical session
Commands at a glance
| Command | Purpose |
|---|---|
golain login | OAuth2 browser login (Zitadel) |
golain set | Default org, project, fleet IDs |
golain devices | List fleet devices with status |
golain device <name> | Device detail and monitoring |
golain ssh <name> | Interactive shell via MQTT bridge |
golain config | Show saved configuration |
-c, --config for alternate config file path.
Requirements on device
SSH requires Omega (or compatible edge client) with:- RPC and SSH modules enabled
security.capabilitiesallowing remote shell- Device online and authenticated to MQTT
Install
Build and install golain-cli.
Commands
Full command reference.