goliothctl stream get#

Get latest stream data at given path.

goliothctl stream get [device name] <path> [flags]

Examples#

# Read latest device state
# [device name] should be replace by your device name and wrapped in quotes if spaces are used.
> goliothctl stream get [device name] /test
{"env":{"temperature": 30, "humidity": 80}}

Options#

-h, --help help for get
--hwId stringArray hardware id
--id string device id

Options inherited from parent commands#

--apiUrl string golioth api server url (default "https://api.golioth.dev")
-c, --config string config file (default is $HOME/.goliothctl.yaml)
--projectId string golioth project id

SEE ALSO#